Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
4.1.3
-
None
-
EDG eccp 3.7
Description
EDG eccp 3.7 (released in January '06) started to issue a new error (see below). The error is causing all config tests for the presence of libc function declarations in libc headers to fail.
eccp -c -DCHECK_DECL -A -x --template_directory=/build/sebor/eccp-3.7-15s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 -DHDRNAME=<math.h> -DFUNNAME=acos -DFUN=acos(0.0) -DTAKE_ADDR=0 /tmp/libc_decl_tmpsrc-27371.cpp -o /tmp/acos-27371.o && eccp /tmp/libc_decl_tmpsrc-27371.cpp --template_directory=/build/sebor/eccp-3.7-15s/lib /usr/lib/libpthread.so -lm
"/tmp/libc_decl_tmpsrc-27371.cpp", line 13: error #961-D: use of a type with
no linkage to declare a variable with linkage
} funptri;
^
1 error detected in the compilation of "/tmp/libc_decl_tmpsrc-27371.cpp".
Note that gcc detects the same violation but only issues a warning:
non-local variable '<anonymous union> u' uses anonymous type