gcc compiler issues with gcc version 3.3.1...,,, on freebsd 5-current

KroNiC~BSD kronic_bsd at fastmail.fm
Sat Oct 18 11:29:11 PDT 2003


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 <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. 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: 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:1079: error: ISO C++ forbids
the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1082: error: ISO C++ forbids
the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1085: error: ISO C++ forbids
the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1088: error: ISO C++ forbids
the use 
   of `extern' on explicit instantiations
In file included from /usr/include/c++/3.3/streambuf:934,
                 from /usr/include/c++/3.3/ios:50,
                 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/streambuf.tcc:241: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/streambuf.tcc:245: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/streambuf.tcc:248: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/streambuf.tcc:252: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
In file included from /usr/include/c++/3.3/bits/basic_ios.h:456,
                 from /usr/include/c++/3.3/ios:51,
                 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_ios.tcc:211: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_ios.tcc:214: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
In file included from /usr/include/c++/3.3/locale:47,
                 from /usr/include/c++/3.3/bits/ostream.tcc:37,
                 from /usr/include/c++/3.3/ostream:535,
                 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/locale_facets.tcc:2531: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2532: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2533: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2534: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2535: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2536: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2537: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2538: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2539: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2540: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2541: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2542: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2543: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2544: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2545: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2546: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2547: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2548: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2549: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2550: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2551: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2555: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2559: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2563: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2567: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2571: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2575: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2579: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2583: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2587: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2591: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2595: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2599: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2603: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2607: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2611: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2615: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2619: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2623: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2627: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2631: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2635: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2639: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2643: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2647: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2651: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2655: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2658: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2659: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2660: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2661: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2662: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2663: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2664: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2665: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2666: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2667: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2668: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2669: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2670: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2671: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2672: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2673: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2674: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2675: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2676: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2677: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2678: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2682: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2686: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2690: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2694: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2698: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2702: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2706: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2710: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2714: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2718: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2722: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2726: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2730: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2734: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2738: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2742: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2746: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2750: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2754: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2758: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2762: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2766: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2770: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2774: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2778: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/locale_facets.tcc:2782: error: ISO C++ forbids
the 
   use of `extern' on explicit instantiations
In file included from /usr/include/c++/3.3/ostream:535,
                 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/ostream.tcc:701: error: ISO C++ forbids the use
of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:701: error: ISO C++ forbids the use
of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:702: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:703: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:704: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:705: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:706: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:707: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:708: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:709: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:710: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:713: error: ISO C++ forbids the use
of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:713: error: ISO C++ forbids the use
of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:714: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:715: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:716: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:717: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:718: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:719: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/ostream.tcc:720: error: ISO C++ forbids the use
of 
   `extern' on explicit instantiations
In file included from /usr/include/c++/3.3/istream:768,
                 from /usr/include/c++/3.3/iostream:46,
                 from /usr/include/c++/3.3/backward/iostream.h:32,
                 from TestCOMPtr.cpp:39:
/usr/include/c++/3.3/bits/istream.tcc:1201: error: ISO C++ forbids the
use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1201: error: ISO C++ forbids the
use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1202: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1203: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1204: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1205: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1206: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1207: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1208: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1211: error: ISO C++ forbids the
use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1211: error: ISO C++ forbids the
use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1212: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1213: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
/usr/include/c++/3.3/bits/istream.tcc:1214: error: ISO C++ forbids the
use of 
   `extern' on explicit instantiations
gmake[5]: *** [TestCOMPtr.o] Error 1
gmake[5]: Leaving directory `/sandbox/firebird/mozilla/xpcom/tests'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/sandbox/firebird/mozilla/xpcom'
gmake[3]: *** [tier_2] Error 2
gmake[3]: Leaving directory `/sandbox/firebird/mozilla'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/sandbox/firebird/mozilla'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/sandbox/firebird/mozilla'
gmake: *** [build] Error 2



others are getting these errors while compiling various other apps. 


http://gcc.gnu.org/ml/gcc-bugs/2003-08/msg00370.html

I can find others having these issues but have not found why or how to
fix it, so i would appreciate some help on this.

Thanks in advance and have a great day.
-- 
  KroNiC~BSD
  kronic_bsd at fastmail.fm

-- 
http://www.fastmail.fm - Send your email first class


More information about the freebsd-questions mailing list