[llvm-dev] LLVM - compile error - error: invalid integral value 'size' in '-Osize'
Nemanja Ivanovic via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 3 12:02:26 PDT 2019
Does your invocation of clang involve -Osize?
You probably mean -Os -Oz.
On Thu, Oct 3, 2019 at 2:56 PM Dennis Nguyen via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> 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?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev