On Sat, 18 Oct 2003 12:29:05 -0600, "KroNiC~BSD" <[EMAIL PROTECTED]>
said:
> I am trying to compile firebird on freebsd 5-current. Something appears
> to be wrong with the compiler on the 5.x series as i am getting the
> following errors:
>
> c++ -o TestCOMPtr.o -c -DOSTYPE=\"FreeBSD5\" -DOSARCH=\"FreeBSD\"
> -I./../ds -I./services -I../../dist/include/string
> -I../../dist/include/xpcom -I../../dist/include
> -I/sandbox/firebird/mozilla/dist/include/nspr -I/usr/X11R6/include
> -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti
> -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
> -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long
> -pedantic -fshort-wchar -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g
> -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include
> ../../mozilla-config.h -Wp,-MD,.deps/TestCOMPtr.pp TestCOMPtr.cpp
> In file included from /usr/include/c++/3.3/backward/iostream.h:31,
> from TestCOMPtr.cpp:39:
> /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning
> is a GCC extension
> /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning
> This file includes at least one deprecated or antiquated header. Please
> consider using one of the 32 headers found in section 17.4.1.2 of the C++
> standard. Examples include substituting the header for the
> header for C++ includes, or instead of the deprecated header
> . To disable this warning use -Wno-deprecated.
> In file included from
> /usr/include/c++/3.3/bits/stl_iterator_base_funcs.h:68,
> from /usr/include/c++/3.3/bits/stl_algobase.h:74,
> from /usr/include/c++/3.3/memory:54,
> from /usr/include/c++/3.3/string:48,
> from /usr/include/c++/3.3/bits/locale_classes.h:47,
> from /usr/include/c++/3.3/bits/ios_base.h:47,
> from /usr/include/c++/3.3/ios:49,
> from /usr/include/c++/3.3/ostream:45,
> from /usr/include/c++/3.3/iostream:45,
> from /usr/include/c++/3.3/backward/iostream.h:32,
> from TestCOMPtr.cpp:39:
> /usr/include/c++/3.3/bits/concept_check.h:52:37: warning: anonymous
> variadic macros were introduced in C99
> In file included from /usr/include/c++/3.3/memory:55,
> from /usr/include/c++/3.3/string:48,
> from /usr/include/c++/3.3/bits/locale_classes.h:47,
> from /usr/include/c++/3.3/bits/ios_base.h:47,
> from /usr/include/c++/3.3/ios:49,
> from /usr/include/c++/3.3/ostream:45,
> from /usr/include/c++/3.3/iostream:45,
> from /usr/include/c++/3.3/backward/iostream.h:32,
> from TestCOMPtr.cpp:39:
> /usr/include/c++/3.3/bits/stl_alloc.h:968: error: ISO C++ forbids the use
> of `
>extern' on explicit instantiations
> /usr/include/c++/3.3/bits/stl_alloc.h:969: error: ISO C++ forbids the use
> of `
>extern' on explicit instantiations
> /usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use
> of `
>extern' on explicit instantiations
> /usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use
> of `
>extern' on explicit instantiations
> /usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use
> of `
>extern' on explicit instantiations
> In file included from /usr/include/c++/3.3/string:57,
> from /usr/include/c++/3.3/bits/locale_classes.h:47,
> from /usr/include/c++/3.3/bits/ios_base.h:47,
> from /usr/include/c++/3.3/ios:49,
> from /usr/include/c++/3.3/ostream:45,
> from /usr/include/c++/3.3/iostream:45,
> from /usr/include/c++/3.3/backward/iostream.h:32,
> from TestCOMPtr.cpp:39:
> /usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1064: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1067: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1070: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1073: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids
> the use
>of `extern' on explicit instantiations
> /usr/include/c++/3.3/bits/basic_string.tcc:1076: