Apache OpenOffice (AOO) Bugzilla – Issue 63012
new chart: use of "__false_type" is ambiguous
Last modified: 2013-02-24 21:20:55 UTC
Hello, while compiling the chart2mst3 module, I had the following error : Making: ../../unxlngi6/slo/InternalDataProvider.obj g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 -I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include -I. -I../../res -I. -g -O0 -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngi6/slo/InternalDataProvider.o /home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:104: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:104: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:120: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:120: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:127: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:127: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:147: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:147: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:154: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:154: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:164: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:164: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:174: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:174: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:181: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:181: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:188: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:188: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:195: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:195: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:203: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:203: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:211: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:211: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:218: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:218: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:225: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:225: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:232: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:232: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:239: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:239: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:246: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:246: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:253: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:253: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:260: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:260: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:270: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:270: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:278: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:278: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:285: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:285: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:292: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:292: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:302: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:302: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:309: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:309: erreur: ‘__true_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:319: erreur: use of ‘__false_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94: erreur: first declared as ‘struct __false_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65: erreur: also declared as ‘struct _STLD::__false_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:319: erreur: ‘__false_type’ does not name a type /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:327: erreur: use of ‘__true_type’ is ambiguous /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:93: erreur: first declared as ‘struct __true_type’ here /home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:64: erreur: also declared as ‘struct _STLD::__true_type’ here /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:327: erreur: ‘__true_type’ does not name a type dmake: Error code 1, while making '../../unxlngi6/slo/InternalDataProvider.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/chart2/source/tools After some chat on IRC, Caolan and Martink told me it seems like the following line : #include <valarray> enters in conflict with other headers : "martink suspects valarray, guesses that noone else uses it, so this problem has never happened before". To make it compile, I moved the following line : #include <valarray> so that it appears before the 2 following lines : #include "UncachedDataSequence.hxx" #include "InternalDataProvider.hxx" I think this is not a reasonnable solution, but I will attach the patch.
Changed component.
Reassigned.
@bm: Seems to be yours.
Created attachment 34729 [details] diff for the issue
changed issue type, summary and keyword to better reflect that this issue is only a working issue for the chart reimplementation and does not affect the regular product
Change Summary hoping that removing the single quotes unbreaks the XML-export of Issues. Accepted.
I checked in the workaround, but the real error should be solved also.
Changed target to 2.x
added keyword new_implementation
This seems to occur only without STL build. As it runs now, and usually the build is done, I'll set this to fixed and close. Apart from that it is no chart issue but more a system library STL problem.
closing