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