[llvm-dev] LLVM - compile error - error: invalid integral value 'size' in '-Osize'

Dennis Nguyen via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 3 11:56:13 PDT 2019


Hello everyone,
I was using LLVM 4.0.3 compiler and able to build my code. When I switch to LLVM 9.0.0, I got the following error:error: invalid integral value 'size' in '-Osize'

I use sizeof() function but there is no variable defined as "size".How to resolve the error?Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191003/2f9ffd27/attachment.html>


More information about the llvm-dev mailing list