Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
$ autoreconf --vis **&& con./configure && make
/opt/local/bin/autoreconf: unrecognized option `--vis'
Try `/opt/local/bin/autoreconf --help' for more information.
bash-3.2$ autoreconf --vis && ./configure && make 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /opt/local/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --no-force
autoreconf: Leaving directory `.'
checking build system type... x86_64-apple-darwin10.4.0
checking host system type... x86_64-apple-darwin10.4.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU Objective C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
Making all in src
depbase=`echo darwin/greet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DPACKAGE_NAME=\"greetings\" -DPACKAGE_TARNAME=\"greetings\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"greetings\ 1.0\" -DPACKAGE_BUGREPORT=\"lee.hambley@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"greetings\" -DVERSION=\"1.0\" -I. -g -O2 -MT darwin/greet.o -MD -MP -MF $depbase.Tpo -c -o darwin/greet.o darwin/greet.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/c++/4.2.1/iosfwd:48,
from /usr/include/c++/4.2.1/ios:43,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stringfwd.h:48: error: template with C linkage
/usr/include/c++/4.2.1/bits/stringfwd.h:51: error: template with C linkage
/usr/include/c++/4.2.1/bits/stringfwd.h:54: error: template with C linkage
/usr/include/c++/4.2.1/bits/stringfwd.h:58: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stringfwd.h:63: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/iosfwd:49,
from /usr/include/c++/4.2.1/ios:43,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/postypes.h:80: error: template with C linkage
/usr/include/c++/4.2.1/bits/postypes.h:94: error: template with C linkage
/usr/include/c++/4.2.1/bits/postypes.h:197: error: template with C linkage
/usr/include/c++/4.2.1/bits/postypes.h:202: error: template with C linkage
In file included from /usr/include/c++/4.2.1/ios:43,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/iosfwd:54: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:57: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:60: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:63: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:66: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:69: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:73: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:77: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:81: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:85: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:88: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:91: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:94: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:97: error: template with C linkage
/usr/include/c++/4.2.1/iosfwd:100: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:71,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_pair.h:67: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:94: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:100: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:107: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:113: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:119: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:125: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_pair.h:142: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:72,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:76: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:90: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:92: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:100: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:104: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:110: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:118: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:125: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:133: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:140: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:150: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:160: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:167: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:174: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:181: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:189: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:197: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:204: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:211: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:218: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:225: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:232: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:239: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:246: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:256: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:264: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:271: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:278: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:288: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:295: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:305: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:312: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:323: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:331: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:339: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:345: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:358: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:378: error: template with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:385: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/cpp_type_traits.h:393: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/utility:66,
from /usr/include/c++/4.2.1/ext/type_traits.h:41,
from /usr/include/c++/4.2.1/bits/stl_algobase.h:73,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_relops.h:90: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_relops.h:103: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_relops.h:116: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_relops.h:129: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:73,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/ext/type_traits.h:47: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:51: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:57: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:61: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:67: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:77: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:81: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:85: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:89: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:93: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:97: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:102: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:105: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:110: error: template with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:120: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:124: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:128: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:132: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:136: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:140: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:145: error: template specialization with C linkage
/usr/include/c++/4.2.1/ext/type_traits.h:148: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:74,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:104: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:126: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:136: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:146: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_types.h:162: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:75,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:73: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:90: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:113: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:122: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:132: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:148: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator_base_funcs.h:171: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:76,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_iterator.h:93: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:280: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:286: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:292: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:298: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:304: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:310: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:316: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:322: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:330: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:336: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:342: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:348: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:354: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:360: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:366: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:384: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:444: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:459: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:518: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:537: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:614: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:635: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:730: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:736: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:742: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:748: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:755: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:761: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:767: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:773: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:779: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:785: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:791: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:797: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:807: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:813: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_iterator.h:819: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_algobase.h:91: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:106: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:121: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:141: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:180: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:202: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:224: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:244: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:260: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:273: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:291: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:303: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:319: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:324: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:329: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:334: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:343: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:352: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:361: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:387: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:405: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:411: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:424: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:438: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:451: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:468: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:477: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:487: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:497: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:524: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:543: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:556: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:581: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘void std::fill(signed char*, signed char*, const signed char&)’:
/usr/include/c++/4.2.1/bits/stl_algobase.h:604: error: declaration of C function ‘void std::fill(signed char*, signed char*, const signed char&)’ conflicts with
/usr/include/c++/4.2.1/bits/stl_algobase.h:596: error: previous declaration ‘void std::fill(unsigned char*, unsigned char*, const unsigned char&)’ here
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘void std::fill(char*, char*, const char&)’:
/usr/include/c++/4.2.1/bits/stl_algobase.h:612: error: declaration of C function ‘void std::fill(char*, char*, const char&)’ conflicts with
/usr/include/c++/4.2.1/bits/stl_algobase.h:604: error: previous declaration ‘void std::fill(signed char*, signed char*, const signed char&)’ here
/usr/include/c++/4.2.1/bits/stl_algobase.h: At global scope:
/usr/include/c++/4.2.1/bits/stl_algobase.h:619: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:632: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:657: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:668: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:676: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:684: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:704: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:739: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:769: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:801: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:833: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h:873: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘bool std::lexicographical_compare(const char*, const char*, const char*, const char*)’:
/usr/include/c++/4.2.1/bits/stl_algobase.h:915: error: declaration of C function ‘bool std::lexicographical_compare(const char*, const char*, const char*, const char*)’ conflicts with
/usr/include/c++/4.2.1/bits/stl_algobase.h:901: error: previous declaration ‘bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)’ here
In file included from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/char_traits.h: At global scope:
/usr/include/c++/4.2.1/bits/char_traits.h:61: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:86: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:146: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:159: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:170: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:181: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:190: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:199: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:225: error: template with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:231: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/char_traits.h:301: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/ios:47,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/localefwd.h:56: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:60: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:64: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:68: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:72: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:76: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:80: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:84: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:88: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:92: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:96: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:100: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:104: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:110: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:112: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:114: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:116: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:122: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:124: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:126: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:128: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:133: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:135: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:138: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:139: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:142: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:144: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:149: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:151: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:153: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:155: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:161: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:163: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:166: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:168: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:173: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:175: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:178: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:182: error: template with C linkage
/usr/include/c++/4.2.1/bits/localefwd.h:186: error: template with C linkage
In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++allocator.h:39,
from /usr/include/c++/4.2.1/bits/allocator.h:53,
from /usr/include/c++/4.2.1/memory:54,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/ext/new_allocator.h:52: error: template with C linkage
/usr/include/c++/4.2.1/ext/new_allocator.h:113: error: template with C linkage
/usr/include/c++/4.2.1/ext/new_allocator.h:118: error: template with C linkage
In file included from /usr/include/c++/4.2.1/memory:54,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/allocator.h:59: error: template with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:63: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:84: error: template with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:113: error: template with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:118: error: template with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:135: error: template with C linkage
/usr/include/c++/4.2.1/bits/allocator.h:139: error: template with C linkage
In file included from /usr/include/c++/4.2.1/memory:55,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_construct.h:75: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:90: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:104: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:116: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:134: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:146: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:166: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:168: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_construct.h:177: error: template with C linkage
In file included from /usr/include/c++/4.2.1/memory:57,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:70: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:77: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:106: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h: In function ‘wchar_t* std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)’:
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:126: error: declaration of C function ‘wchar_t* std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)’ conflicts with
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:118: error: previous declaration ‘char* std::uninitialized_copy(const char*, const char*, char*)’ here
/usr/include/c++/4.2.1/bits/stl_uninitialized.h: At global scope:
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:134: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:141: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:168: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:180: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:186: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:213: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:228: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:249: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:256: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:274: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:280: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:300: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:318: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:345: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:368: error: template with C linkage
In file included from /usr/include/c++/4.2.1/memory:58,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_raw_storage_iter.h:70: error: template with C linkage
In file included from /usr/include/c++/4.2.1/memory:60,
from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/limits:285: error: template with C linkage
/usr/include/c++/4.2.1/limits:315: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:369: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:420: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:471: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:522: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:573: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:624: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:675: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:726: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:777: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:828: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:879: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:930: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:981: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:1038: error: template specialization with C linkage
/usr/include/c++/4.2.1/limits:1095: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/string:48,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/memory:72: error: template with C linkage
/usr/include/c++/4.2.1/memory:108: error: template with C linkage
/usr/include/c++/4.2.1/memory:120: error: template with C linkage
/usr/include/c++/4.2.1/memory:132: error: template with C linkage
/usr/include/c++/4.2.1/memory:173: error: template with C linkage
In file included from /usr/include/c++/4.2.1/string:51,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/ostream_insert.h:44: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream_insert.h:57: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream_insert.h:76: error: template with C linkage
In file included from /usr/include/c++/4.2.1/string:53,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_function.h:101: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:113: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:133: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:142: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:151: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:160: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:169: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:178: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:195: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:204: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:213: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:222: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:231: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:240: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:256: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:265: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:274: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:311: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:327: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:333: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:353: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:391: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:416: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:425: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:450: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:480: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:498: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:504: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:523: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:529: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:541: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:554: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:582: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:598: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:614: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:630: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:646: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:662: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:678: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:694: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:711: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:716: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:721: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:726: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:731: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:736: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:741: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_function.h:746: error: template with C linkage
In file included from /usr/include/c++/4.2.1/string:54,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/basic_string.h:110: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2063: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2079: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2095: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2106: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2116: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2132: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2150: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2162: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2174: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2187: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2199: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2211: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2224: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2236: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2248: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2261: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2273: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2285: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2298: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2310: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2322: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2335: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2347: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2359: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2372: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2389: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2394: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2407: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2430: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2447: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2453: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/basic_string.h:2459: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algo.h:65,
from /usr/include/c++/4.2.1/algorithm:68,
from /usr/include/c++/4.2.1/string:57,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_heap.h:70: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:85: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:102: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:107: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:115: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:139: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:159: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:187: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:207: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:230: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:251: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:269: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:294: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:317: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:342: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:382: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:420: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_heap.h:446: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/stl_algo.h:66,
from /usr/include/c++/4.2.1/algorithm:68,
from /usr/include/c++/4.2.1/string:57,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_tempbuf.h:76: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_tempbuf.h:142: error: template with C linkage
In file included from /usr/include/c++/4.2.1/algorithm:68,
from /usr/include/c++/4.2.1/string:57,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/stl_algo.h:85: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:119: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:151: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:168: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:183: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:198: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:250: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:302: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:316: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:338: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:360: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:391: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:422: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:446: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:485: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:556: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:628: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:662: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:720: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:747: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:787: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:848: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:884: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:922: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:957: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:989: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1020: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1053: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1089: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1123: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1149: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1176: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1212: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1251: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1286: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1312: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1337: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1362: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1384: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1415: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1446: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1487: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1527: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1560: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1599: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1633: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1655: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1682: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1708: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1736: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1754: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1794: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1828: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1915: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1948: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:1974: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2001: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2023: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2053: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2095: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2117: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2145: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2206: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2246: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2270: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2303: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2323: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2344: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2371: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2397: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2414: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2431: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2450: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2470: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2490: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2510: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2535: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2573: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2612: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2677: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2733: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2769: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2814: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2849: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2882: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2932: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:2979: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3029: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3071: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3118: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3169: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3192: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3227: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3288: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3330: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3353: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3381: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3395: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3409: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3433: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3464: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3503: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3543: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3579: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3638: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3711: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3765: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3802: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3829: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3874: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3915: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3943: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:3978: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4030: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4068: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4107: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4168: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4226: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4258: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4297: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4345: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4394: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4460: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4526: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4582: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4639: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4699: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4756: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4821: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4879: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4906: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4931: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4958: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:4993: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5049: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5104: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5160: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5219: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5255: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5285: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5312: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5342: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5374: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5435: error: template with C linkage
/usr/include/c++/4.2.1/bits/stl_algo.h:5480: error: template with C linkage
In file included from /usr/include/c++/4.2.1/string:58,
from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/basic_string.tcc:51: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:56: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:61: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:66: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:71: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:77: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:87: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:133: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:163: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:181: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:189: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:195: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:205: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:217: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:224: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:231: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:238: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:245: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:261: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:283: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:300: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:327: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:344: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:362: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:393: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:424: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:434: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:448: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:481: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:498: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:525: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:603: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:619: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:633: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:647: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:660: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:672: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:688: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:702: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:716: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:739: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:757: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:778: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:795: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:810: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:831: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:843: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:854: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:875: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:895: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:910: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:928: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:943: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_string.tcc:959: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/ios_base.h:47,
from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_classes.h:81: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:85: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:89: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:182: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:211: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:258: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:439: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:443: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:479: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:483: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:487: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:555: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_classes.h:564: error: template with C linkage
In file included from /usr/include/c++/4.2.1/ios:48,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:119: error: declaration of C function ‘std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:79: error: previous declaration ‘std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:123: error: declaration of C function ‘std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:83: error: previous declaration ‘std::_Ios_Fmtflags std::operator|(std::_Ios_Fmtflags, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:127: error: declaration of C function ‘std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:87: error: previous declaration ‘std::_Ios_Fmtflags std::operator^(std::_Ios_Fmtflags, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:131: error: declaration of C function ‘std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:91: error: previous declaration ‘std::_Ios_Fmtflags& std::operator|=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:135: error: declaration of C function ‘std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:95: error: previous declaration ‘std::_Ios_Fmtflags& std::operator&=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:139: error: declaration of C function ‘std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:99: error: previous declaration ‘std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Openmode std::operator~(std::_Ios_Openmode)’:
/usr/include/c++/4.2.1/bits/ios_base.h:143: error: declaration of C function ‘std::_Ios_Openmode std::operator~(std::_Ios_Openmode)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:103: error: previous declaration ‘std::_Ios_Fmtflags std::operator~(std::_Ios_Fmtflags)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:157: error: declaration of C function ‘std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:119: error: previous declaration ‘std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate std::operator|(std::_Ios_Iostate, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:161: error: declaration of C function ‘std::_Ios_Iostate std::operator|(std::_Ios_Iostate, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:123: error: previous declaration ‘std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate std::operator^(std::_Ios_Iostate, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:165: error: declaration of C function ‘std::_Ios_Iostate std::operator^(std::_Ios_Iostate, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:127: error: previous declaration ‘std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate& std::operator|=(std::_Ios_Iostate&, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:169: error: declaration of C function ‘std::_Ios_Iostate& std::operator|=(std::_Ios_Iostate&, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:131: error: previous declaration ‘std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate& std::operator&=(std::_Ios_Iostate&, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:173: error: declaration of C function ‘std::_Ios_Iostate& std::operator&=(std::_Ios_Iostate&, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:135: error: previous declaration ‘std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:177: error: declaration of C function ‘std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:139: error: previous declaration ‘std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In function ‘std::_Ios_Iostate std::operator~(std::_Ios_Iostate)’:
/usr/include/c++/4.2.1/bits/ios_base.h:181: error: declaration of C function ‘std::_Ios_Iostate std::operator~(std::_Ios_Iostate)’ conflicts with
/usr/include/c++/4.2.1/bits/ios_base.h:143: error: previous declaration ‘std::_Ios_Openmode std::operator~(std::_Ios_Openmode)’ here
/usr/include/c++/4.2.1/bits/ios_base.h: In member function ‘std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags)’:
/usr/include/c++/4.2.1/bits/ios_base.h:577: error: invalid conversion from ‘int’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.2.1/bits/ios_base.h: In member function ‘std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags, std::_Ios_Fmtflags)’:
/usr/include/c++/4.2.1/bits/ios_base.h:594: error: invalid conversion from ‘int’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.2.1/bits/ios_base.h:595: error: invalid conversion from ‘int’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.2.1/bits/ios_base.h: In member function ‘void std::ios_base::unsetf(std::_Ios_Fmtflags)’:
/usr/include/c++/4.2.1/bits/ios_base.h:606: error: invalid conversion from ‘int’ to ‘std::_Ios_Fmtflags’
In file included from /usr/include/c++/4.2.1/ios:49,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/streambuf: At global scope:
/usr/include/c++/4.2.1/streambuf:58: error: template with C linkage
/usr/include/c++/4.2.1/streambuf:123: error: template with C linkage
/usr/include/c++/4.2.1/streambuf:806: error: template specialization with C linkage
/usr/include/c++/4.2.1/streambuf:811: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/streambuf:820,
from /usr/include/c++/4.2.1/ios:49,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/streambuf.tcc:47: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf.tcc:81: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf.tcc:118: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf.tcc:141: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:41,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:48: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:193: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:199: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:206: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:281: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:298: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:310: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:322: error: template with C linkage
/usr/include/c++/4.2.1/bits/streambuf_iterator.h:357: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_facets.h:65: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:71: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:76: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:81: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:88: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:102: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:111: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:121: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:145: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:606: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:663: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:675: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1197: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1213: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1503: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1509: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1524: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1527: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:1536,
from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/codecvt.h:71: error: template with C linkage
/usr/include/c++/4.2.1/bits/codecvt.h:272: error: template with C linkage
/usr/include/c++/4.2.1/bits/codecvt.h:330: error: template with C linkage
/usr/include/c++/4.2.1/bits/codecvt.h:334: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/codecvt.h:392: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/codecvt.h:452: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_facets.h:1590: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1637: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1661: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1873: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1876: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1879: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1884: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1887: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1893: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:1931: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2247: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2262: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2519: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2536: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2689: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2693: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2697: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2702: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2706: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2712: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2751: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2845: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2855: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2860: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2866: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:2869: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3014: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3018: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3022: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3027: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3031: error: template specialization with C linkage
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:3040,
from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/time_members.h:44: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/time_members.h:52: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/time_members.h:60: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/time_members.h:79: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_facets.h:3056: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3365: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3369: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3397: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3489: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3493: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3547: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3596: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3614: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3962: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3965: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3968: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3971: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3974: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3978: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3983: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3986: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3989: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:3994: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4001: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4028: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4044: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4178: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4193: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4330: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4363: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4565: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4569: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4574: error: template specialization with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4580: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:4599,
from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:44: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:49: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:54: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:61: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:65: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:70: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:76: error: template with C linkage
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/messages_members.h:82: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_facets.h:4609: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4615: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4621: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4627: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4633: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4639: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4645: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4651: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4657: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4663: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4669: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4675: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.h:4681: error: template with C linkage
In file included from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/basic_ios.h:55: error: template with C linkage
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:465,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/basic_ios.tcc:43: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:55: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:65: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:115: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:120: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:126: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:138: error: template with C linkage
/usr/include/c++/4.2.1/bits/basic_ios.tcc:169: error: template with C linkage
In file included from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/ostream:58: error: template with C linkage
/usr/include/c++/4.2.1/ostream:383: error: template with C linkage
/usr/include/c++/4.2.1/ostream:451: error: template with C linkage
/usr/include/c++/4.2.1/ostream:456: error: template with C linkage
/usr/include/c++/4.2.1/ostream:462: error: template with C linkage
/usr/include/c++/4.2.1/ostream:468: error: template with C linkage
/usr/include/c++/4.2.1/ostream:473: error: template with C linkage
/usr/include/c++/4.2.1/ostream:493: error: template with C linkage
/usr/include/c++/4.2.1/ostream:505: error: template with C linkage
/usr/include/c++/4.2.1/ostream:510: error: template with C linkage
/usr/include/c++/4.2.1/ostream:523: error: template with C linkage
/usr/include/c++/4.2.1/ostream:528: error: template with C linkage
/usr/include/c++/4.2.1/ostream:543: error: template with C linkage
/usr/include/c++/4.2.1/ostream:554: error: template with C linkage
/usr/include/c++/4.2.1/ostream:564: error: template with C linkage
In file included from /usr/include/c++/4.2.1/locale:46,
from /usr/include/c++/4.2.1/bits/ostream.tcc:46,
from /usr/include/c++/4.2.1/ostream:572,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/locale_facets.tcc:48: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:65: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:87: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:109: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:122: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:130: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:157: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:185: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:220: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:278: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:509: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:714: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:779: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:786: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:793: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:800: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:808: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:815: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:823: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:836: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:864: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:877: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:901: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:916: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:960: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:971: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1058: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1093: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1211: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1249: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1255: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1263: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1269: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1277: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1291: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1298: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1316: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1547: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1560: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1583: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1752: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1789: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1802: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:1809: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2022: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2062: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2136: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2153: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2170: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2219: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2268: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2297: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2332: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2374: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2380: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2385: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2424: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2480: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2503: error: template with C linkage
/usr/include/c++/4.2.1/bits/locale_facets.tcc:2580: error: template with C linkage
In file included from /usr/include/c++/4.2.1/ostream:572,
from /usr/include/c++/4.2.1/iostream:45,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/ostream.tcc:50: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:65: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:89: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:103: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:117: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:141: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:170: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:193: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:214: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:230: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:257: error: template with C linkage
/usr/include/c++/4.2.1/bits/ostream.tcc:284: error: template with C linkage
In file included from /usr/include/c++/4.2.1/iostream:46,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/istream:57: error: template with C linkage
/usr/include/c++/4.2.1/istream:602: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:607: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:612: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:618: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:623: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:628: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:645: error: template with C linkage
/usr/include/c++/4.2.1/istream:707: error: template with C linkage
/usr/include/c++/4.2.1/istream:711: error: template with C linkage
/usr/include/c++/4.2.1/istream:716: error: template with C linkage
/usr/include/c++/4.2.1/istream:748: error: template with C linkage
/usr/include/c++/4.2.1/istream:753: error: template specialization with C linkage
/usr/include/c++/4.2.1/istream:757: error: template with C linkage
/usr/include/c++/4.2.1/istream:762: error: template with C linkage
/usr/include/c++/4.2.1/istream:775: error: template with C linkage
/usr/include/c++/4.2.1/istream:838: error: template with C linkage
In file included from /usr/include/c++/4.2.1/istream:845,
from /usr/include/c++/4.2.1/iostream:46,
from darwin/greet.cpp:10:
/usr/include/c++/4.2.1/bits/istream.tcc:51: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:89: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:112: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:132: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:152: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:179: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:210: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:242: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:284: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:323: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:378: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:406: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:462: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:520: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:545: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:569: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:596: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:624: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:652: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:683: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:702: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:730: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:759: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:786: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:842: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:866: error: template with C linkage
/usr/include/c++/4.2.1/bits/istream.tcc:932: error: template with C linkage
darwin/greet.cpp: In function ‘void greet()’:
darwin/greet.cpp:14: error: ‘NSAutoreleasePool’ was not declared in this scope
darwin/greet.cpp:14: error: ‘pool’ was not declared in this scope
darwin/greet.cpp:14: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:14: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:14: error: expected `]' before ‘alloc’
darwin/greet.cpp:14: error: expected `]' before ‘alloc’
darwin/greet.cpp:14: error: expected `;' before ‘alloc’
darwin/greet.cpp:16: error: ‘Greeting’ was not declared in this scope
darwin/greet.cpp:16: error: ‘g’ was not declared in this scope
darwin/greet.cpp:16: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:16: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:16: error: expected `]' before ‘alloc’
darwin/greet.cpp:16: error: expected `]' before ‘alloc’
darwin/greet.cpp:16: error: expected `;' before ‘alloc’
darwin/greet.cpp:18: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:18: error: expected `]' before ‘autorelease’
darwin/greet.cpp:18: error: expected `;' before ‘autorelease’
darwin/greet.cpp:19: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:19: error: expected `]' before ‘greet’
darwin/greet.cpp:19: error: expected `;' before ‘greet’
darwin/greet.cpp:21: error: expected primary-expression before ‘[’ token
darwin/greet.cpp:21: error: expected `]' before ‘release’
darwin/greet.cpp:21: error: expected `;' before ‘release’
make[1]: *** [darwin/greet.o] Error 1
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.