bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Got this error while using clang++ compiler @SVN 903


From: Christian Robert
Subject: Re: [Bug-apl] Got this error while using clang++ compiler @SVN 903
Date: Sat, 18 Mar 2017 00:57:01 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

I forgot to mention that "clang" was updated about 2 days ago on Fedora 25, and 
it was compiling fine before that update.

Xtian.

On 2017-03-17 15:05, Christian Robert wrote:
mv -f .deps/apl-Quad_SVx.Tpo .deps/apl-Quad_SVx.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Werror -Wall -I sql -I/usr/include    -g 
-O2 -MT apl-Svar_record.o -MD -MP -MF .deps/apl-Svar_record.Tpo -c -o 
apl-Svar_record.o `test -f 'Svar_record.cc' || echo './'`Svar_record.cc
mv -f .deps/apl-PrimitiveFunction.Tpo .deps/apl-PrimitiveFunction.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Werror -Wall -I sql -I/usr/include    -g 
-O2 -MT apl-Symbol.o -MD -MP -MF .deps/apl-Symbol.Tpo -c -o apl-Symbol.o `test 
-f 'Symbol.cc' || echo './'`Symbol.cc
ScalarFunction.cc:97:14: error: binding dereferenced null pointer to reference 
has undefined behavior [-Werror,-Wnull-dereference]
   : value_Z(*(Value *)0),
             ^~~~~~~~~~~
ScalarFunction.cc:159:14: error: binding dereferenced null pointer to reference 
has undefined behavior [-Werror,-Wnull-dereference]
   : value_Z(*(Value *)0),
             ^~~~~~~~~~~
2 errors generated.
Makefile:2762: recipe for target 'apl-ScalarFunction.o' failed
make[3]: *** [apl-ScalarFunction.o] Error 1
make[3]: *** Waiting for unfinished jobs....




reply via email to

[Prev in Thread] Current Thread [Next in Thread]