Let's take the first example :
Code: Select all
#include <vector>
Okay, so I take a look directories, and I find that there are some C++ includes in the directory that my compiler probably doesn't know about :$ make kxploit
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o prog1.o prog1.c
prog1.c:5:18: error: vector: No such file or directory
make: *** [prog1.o] Error 1
c:\cygwin_sg\usr\local\pspdev\include\c++\4.0.2\..
So I modify my makefile as follows :
Code: Select all
CFLAGS = -O2 -G0 -Wall -I/usr/local/pspdev/include/c++/4.0.2/
And at this point I am a little lost. So what am I missing or what am I doing wrong, becuse vector is more or less standard C++ extension and therefore it should not be that problematic to add it.In file included from /usr/local/pspdev/include/c++/4.0.2/vector:65,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/functexcept.h:43: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/functexcept.h:44: error: syntax error before '{' token
/usr/local/pspdev/include/c++/4.0.2/bits/functexcept.h:91: error: syntax error before '}' token
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:64:28: error: bits/c++config.h: No such file or directory
In file included from /usr/local/pspdev/include/c++/4.0.2/cstring:49,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:65,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/cstddef:51: error: syntax error before '{' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:65,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/cstring:77: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/cstring:78: error: syntax error before '{' token
/usr/local/pspdev/include/c++/4.0.2/cstring:101: error: conflicting types for 'memchr'
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/string.h:22: error: previous declaration of 'memchr' was here
/usr/local/pspdev/include/c++/4.0.2/cstring: In function 'memchr':
/usr/local/pspdev/include/c++/4.0.2/cstring:101: error: 'const_cast' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/cstring:101: error: (Each undeclared identifier is reported only once
/usr/local/pspdev/include/c++/4.0.2/cstring:101: error: for each function it appears in.)
/usr/local/pspdev/include/c++/4.0.2/cstring:101: error: syntax error before 'const'
/usr/local/pspdev/include/c++/4.0.2/cstring: At top level:
/usr/local/pspdev/include/c++/4.0.2/cstring:103: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/cstring:107: error: conflicting types for 'strchr'
/usr/local/pspdev/include/c++/4.0.2/cstring: In function 'strchr':
/usr/local/pspdev/include/c++/4.0.2/cstring:107: error: 'const_cast' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/cstring:107: error: syntax error before 'const'
/usr/local/pspdev/include/c++/4.0.2/cstring: At top level:
/usr/local/pspdev/include/c++/4.0.2/cstring:109: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/cstring:113: error: conflicting types for 'strpbrk'
/usr/local/pspdev/include/c++/4.0.2/cstring: In function 'strpbrk':
/usr/local/pspdev/include/c++/4.0.2/cstring:113: error: 'const_cast' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/cstring:113: error: syntax error before 'const'
/usr/local/pspdev/include/c++/4.0.2/cstring: At top level:
/usr/local/pspdev/include/c++/4.0.2/cstring:115: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/cstring:119: error: conflicting types for 'strrchr'
/usr/local/pspdev/include/c++/4.0.2/cstring: In function 'strrchr':
/usr/local/pspdev/include/c++/4.0.2/cstring:119: error: 'const_cast' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/cstring:119: error: syntax error before 'const'
/usr/local/pspdev/include/c++/4.0.2/cstring: At top level:
/usr/local/pspdev/include/c++/4.0.2/cstring:121: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/cstring:125: error: conflicting types for 'strstr'
/usr/local/pspdev/include/c++/4.0.2/cstring: In function 'strstr':
/usr/local/pspdev/include/c++/4.0.2/cstring:125: error: 'const_cast' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/cstring:125: error: syntax error before 'const'
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:67,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/cstdlib: At top level:
/usr/local/pspdev/include/c++/4.0.2/cstdlib:91: error: syntax error before '{' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/local/pspdev/include/c++/4.0.2/iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/local/pspdev/include/c++/4.0.2/iosfwd:47,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/cctype:66: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/cctype:67: error: syntax error before '{' token
In file included from /usr/local/pspdev/include/c++/4.0.2/iosfwd:48,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stringfwd.h:47: error: syntax error before '{' token
/usr/local/pspdev/include/c++/4.0.2/bits/stringfwd.h:60: error: syntax error before '<' token
In file included from /usr/local/pspdev/include/c++/4.0.2/cwchar:51,
from /usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:46,
from /usr/local/pspdev/include/c++/4.0.2/iosfwd:49,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/ctime:64: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/ctime:65: error: syntax error before '{' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:46,
from /usr/local/pspdev/include/c++/4.0.2/iosfwd:49,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/cwchar:66: error: syntax error before '}' token
/usr/local/pspdev/include/c++/4.0.2/cwchar:70: error: syntax error before '{' token
In file included from /usr/local/pspdev/include/c++/4.0.2/iosfwd:49,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:53: error: syntax error before '{' token
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:80: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:101: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:116: error: syntax error before '__off'
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h: In function 'streamoff':
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:120: error: syntax error before '{' token
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:210: error: storage class specified for parameter 'fpos'
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:210: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:212: error: storage class specified for parameter 'fpos'
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:212: error: redefinition of parameter 'fpos'
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:210: error: previous definition of 'fpos' was here
/usr/local/pspdev/include/c++/4.0.2/bits/postypes.h:212: error: syntax error before '<' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:69,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/iosfwd:135: error: storage class specified for parameter 'basic_ios'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:135: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:136: error: storage class specified for parameter 'basic_streambuf'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:136: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:137: error: storage class specified for parameter 'basic_istream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:137: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:138: error: storage class specified for parameter 'basic_ostream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:138: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:139: error: storage class specified for parameter 'basic_iostream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:139: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:140: error: storage class specified for parameter 'basic_stringbuf'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:140: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:141: error: storage class specified for parameter 'basic_istringstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:141: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:142: error: storage class specified for parameter 'basic_ostringstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:142: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:143: error: storage class specified for parameter 'basic_stringstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:143: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:144: error: storage class specified for parameter 'basic_filebuf'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:144: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:145: error: storage class specified for parameter 'basic_ifstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:145: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:146: error: storage class specified for parameter 'basic_ofstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:146: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/iosfwd:147: error: storage class specified for parameter 'basic_fstream'
/usr/local/pspdev/include/c++/4.0.2/iosfwd:147: error: syntax error before '<' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:70,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_pair.h:71: error: storage class specified for parameter '_T2'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_pair.h:71: error: syntax error before 'second_type'
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:71,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:78: error: storage class specified for parameter '__two'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:80: error: syntax error before 'template'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:96: error: syntax error before 'namespace'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:112: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:112: error: syntax error before '__truth_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:120: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:120: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:127: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:127: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:147: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:147: error: redefinition of parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:120: error: previous definition of '__false_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:147: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:154: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:154: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:127: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:154: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:164: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:164: error: redefinition of parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:147: error: previous definition of '__false_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:164: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:174: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:174: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:154: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:174: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:181: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:181: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:174: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:181: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:188: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:188: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:181: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:188: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:195: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:195: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:188: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:195: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:211: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:211: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:195: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:211: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:218: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:218: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:211: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:218: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:225: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:225: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:218: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:225: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:232: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:232: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:225: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:232: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:239: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:239: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:232: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:239: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:246: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:246: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:239: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:246: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:253: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:253: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:246: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:253: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:260: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:260: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:253: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:260: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:270: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:270: error: redefinition of parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:164: error: previous definition of '__false_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:270: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:278: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:278: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:260: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:278: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:285: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:285: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:278: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:285: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:292: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:292: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:285: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:292: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:302: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:302: error: redefinition of parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:270: error: previous definition of '__false_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:302: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:309: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:309: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:292: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:309: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:319: error: storage class specified for parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:319: error: redefinition of parameter '__false_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:302: error: previous definition of '__false_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:319: error: syntax error before '__type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:327: error: storage class specified for parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:327: error: redefinition of parameter '__true_type'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:309: error: previous definition of '__true_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:327: error: syntax error before '__type'
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:72,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:84: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:87: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:90: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:111: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:111: error: syntax error before 'value_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:113: error: storage class specified for parameter '_Distance'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:113: error: syntax error before 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:115: error: storage class specified for parameter '_Pointer'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:115: error: syntax error before 'pointer'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:117: error: storage class specified for parameter '_Reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:117: error: syntax error before 'reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:130: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:130: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/cpp_type_traits.h:112: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:130: error: syntax error before '_Iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:131: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:131: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:130: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:131: error: syntax error before '_Iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:132: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:132: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:131: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:132: error: syntax error before '_Iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:133: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:133: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:132: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:133: error: syntax error before '_Iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:140: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:140: error: redefinition of parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:111: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:140: error: syntax error before 'value_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:141: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:142: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:142: error: redefinition of parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:140: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:142: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:143: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:143: error: redefinition of parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:142: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:143: error: syntax error before '&' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:150: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:150: error: redefinition of parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:143: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:150: error: syntax error before 'value_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:151: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:151: error: redefinition of parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:141: error: previous definition of 'difference_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:152: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:152: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:150: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:152: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:153: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:153: error: redefinition of parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:152: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:153: error: syntax error before '&' token
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:74,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:102: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:102: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:133: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:102: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:104: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:104: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:102: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:104: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:105: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:105: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:104: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:105: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:594: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:594: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:105: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:594: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:595: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:595: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:594: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:595: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:597: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:597: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:595: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:597: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:598: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:598: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:597: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:598: error: syntax error before 'iterator_traits'
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:76,
from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/debug/debug.h:285: error: syntax error before '__check_singular_aux'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:66,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:146: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:146: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator.h:598: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:146: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:159: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:159: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:146: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:159: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:161: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:161: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:159: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:161: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:310: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:310: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:161: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:310: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:311: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:311: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:310: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:311: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:312: error: conflicting type qualifiers for 'bool'
/usr/local/pspdev/include/c++/4.0.2/debug/debug.h:285: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:312: error: syntax error before '__simple'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:384: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:312: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:384: error: syntax error before '__in'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:385: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:384: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:385: error: syntax error before '__out'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:435: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:435: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:311: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:435: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:436: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:436: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:435: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:436: error: syntax error before 'iterator_traits'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:437: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:385: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:437: error: syntax error before '__simple'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:514: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:437: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:514: error: syntax error before '__bi1'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:515: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:514: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:515: error: syntax error before '__bi2'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:567: error: redefinition of parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:515: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:567: error: syntax error before '__scalar'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:576: error: parameter '__tmp' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:576: error: '__c' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:577: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:584: error: parameter '__tmp' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:584: error: conflicting types for '__tmp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:576: error: previous definition of '__tmp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:585: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:592: error: parameter '__tmp' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:592: error: conflicting types for '__tmp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:584: error: previous definition of '__tmp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:593: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:883: error: parameter '__len1' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:883: error: '__last1' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:883: error: '__first1' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:884: error: parameter '__len2' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:884: error: '__last2' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:884: error: '__first2' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:885: error: parameter '__result' is initialized
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:885: error: 'std' undeclared (first use in this function)
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:885: error: syntax error before ':' token
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:67,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:52:31: error: bits/c++allocator.h: No such file or directory
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:67,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:65: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:65: error: redefinition of parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:151: error: previous definition of 'difference_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:66: error: storage class specified for parameter 'pointer'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:67: error: storage class specified for parameter 'const_pointer'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:68: error: storage class specified for parameter 'value_type'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:70: error: syntax error before 'template'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:86: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:86: error: redefinition of parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:65: error: previous definition of 'difference_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:87: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:87: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_iterator_base_types.h:153: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:87: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:88: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:88: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:87: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:88: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:89: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:89: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:88: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:89: error: syntax error before '&' token
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:90: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:90: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:89: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:90: error: syntax error before '&' token
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:91: error: storage class specified for parameter '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:91: error: conflicting type qualifiers for '_Tp'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:90: error: previous definition of '_Tp' was here
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:91: error: syntax error before 'value_type'
In file included from /usr/local/pspdev/include/c++/4.0.2/new:42,
from /usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:65,
from /usr/local/pspdev/include/c++/4.0.2/vector:68,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/exception:76: error: storage class specified for parameter 'terminate_handler'
/usr/local/pspdev/include/c++/4.0.2/exception:78: error: storage class specified for parameter 'unexpected_handler'
/usr/local/pspdev/include/c++/4.0.2/exception:81: error: syntax error before 'terminate_handler'
/usr/local/pspdev/include/c++/4.0.2/exception:87: error: syntax error before 'unexpected_handler'
/usr/local/pspdev/include/c++/4.0.2/exception:102: error: syntax error before 'bool'
In file included from /usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:65,
from /usr/local/pspdev/include/c++/4.0.2/vector:68,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/new:65: error: storage class specified for parameter 'nothrow_t'
/usr/local/pspdev/include/c++/4.0.2/new:65: error: syntax error before 'nothrow'
/usr/local/pspdev/include/c++/4.0.2/new:68: error: storage class specified for parameter 'new_handler'
/usr/local/pspdev/include/c++/4.0.2/new:70: error: syntax error before 'new_handler'
/usr/local/pspdev/include/c++/4.0.2/new:85: error: syntax error before 'new'
/usr/local/pspdev/include/c++/4.0.2/new:86: error: conflicting types for 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:85: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:86: error: syntax error before 'delete'
/usr/local/pspdev/include/c++/4.0.2/new:87: error: redefinition of parameter 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:86: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:87: error: syntax error before 'delete'
/usr/local/pspdev/include/c++/4.0.2/new:88: error: conflicting types for 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:87: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:88: error: syntax error before 'new'
/usr/local/pspdev/include/c++/4.0.2/new:89: error: redefinition of parameter 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:88: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:89: error: syntax error before 'new'
/usr/local/pspdev/include/c++/4.0.2/new:90: error: conflicting types for 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:89: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:90: error: syntax error before 'delete'
/usr/local/pspdev/include/c++/4.0.2/new:91: error: redefinition of parameter 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:90: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:91: error: syntax error before 'delete'
/usr/local/pspdev/include/c++/4.0.2/new:94: error: conflicting types for 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:91: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/new:94: error: syntax error before 'new'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:68,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:152: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:152: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:436: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:152: error: syntax error before 'std'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:69,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:111: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:111: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_construct.h:152: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:111: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:173: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:173: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:111: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:173: error: syntax error before 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:217: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:217: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:173: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:217: error: syntax error before 'std'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:70,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:154: error: storage class specified for parameter 'vector'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:154: error: syntax error before '<' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:158: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:158: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_uninitialized.h:217: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:158: error: syntax error before '_Alloc'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:159: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:159: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:158: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:159: error: syntax error before '_Alloc'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:160: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:160: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:159: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:160: error: syntax error before '_Alloc'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:161: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:161: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:160: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:161: error: syntax error before '_Alloc'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:162: error: storage class specified for parameter '__gnu_cxx'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:162: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:163: error: storage class specified for parameter '__gnu_cxx'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:163: error: redefinition of parameter '__gnu_cxx'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:162: error: previous definition of '__gnu_cxx' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:163: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:165: error: storage class specified for parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:165: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:166: error: storage class specified for parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:166: error: redefinition of parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:165: error: previous definition of 'std' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:166: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:167: error: storage class specified for parameter 'size_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:168: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:168: error: redefinition of parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/allocator.h:86: error: previous definition of 'difference_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:169: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:169: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:161: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:169: error: syntax error before '_Base'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:299: error: syntax error before '__n'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:657: error: syntax error before '__position'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:733: error: syntax error before '&' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:867: error: syntax error before '__n'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:908: error: syntax error before '__pos'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:912: error: syntax error before '__position'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:71,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:67: error: syntax error before 'int'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:71: error: syntax error before '_Bit_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:110: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:115: error: syntax error before '_Bit_iterator_base'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:182: error: conflicting types for 'operator'
/usr/local/pspdev/include/c++/4.0.2/new:94: error: previous definition of 'operator' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:182: error: syntax error before '-' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:191: error: storage class specified for parameter '_Bit_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:191: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:192: error: storage class specified for parameter '_Bit_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:192: error: syntax error before 'iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:267: error: redefinition of parameter '_Bit_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:192: error: previous definition of '_Bit_iterator' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:267: error: syntax error before 'operator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:273: error: storage class specified for parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:273: error: conflicting type qualifiers for 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_algobase.h:567: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:273: error: syntax error before 'const_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:274: error: storage class specified for parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:274: error: conflicting type qualifiers for 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:273: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:274: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:275: error: storage class specified for parameter '_Bit_const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:275: error: syntax error before 'const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:353: error: redefinition of parameter '_Bit_const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:275: error: previous definition of '_Bit_const_iterator' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:353: error: syntax error before 'operator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:362: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:430: error: storage class specified for parameter 'size_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:430: error: redefinition of parameter 'size_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:167: error: previous definition of 'size_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:431: error: storage class specified for parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:431: error: redefinition of parameter 'difference_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:168: error: previous definition of 'difference_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:432: error: storage class specified for parameter '_Bit_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:432: error: redefinition of parameter '_Bit_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:191: error: previous definition of '_Bit_reference' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:432: error: syntax error before 'reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:433: error: storage class specified for parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:433: error: conflicting type qualifiers for 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:274: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:433: error: syntax error before 'const_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:434: error: storage class specified for parameter '_Bit_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:434: error: redefinition of parameter '_Bit_reference'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:432: error: previous definition of '_Bit_reference' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:434: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:435: error: storage class specified for parameter 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:435: error: conflicting type qualifiers for 'bool'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:433: error: previous definition of 'bool' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:435: error: syntax error before '*' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:437: error: storage class specified for parameter '_Bit_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:437: error: redefinition of parameter '_Bit_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:267: error: previous definition of '_Bit_iterator' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:437: error: syntax error before 'iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:438: error: storage class specified for parameter '_Bit_const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:438: error: redefinition of parameter '_Bit_const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:353: error: previous definition of '_Bit_const_iterator' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:438: error: syntax error before 'const_iterator'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:440: error: storage class specified for parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:440: error: redefinition of parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:166: error: previous definition of 'std' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:440: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:441: error: storage class specified for parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:441: error: redefinition of parameter 'std'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:440: error: previous definition of 'std' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:441: error: syntax error before ':' token
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:443: error: storage class specified for parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:443: error: redefinition of parameter 'typename'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_vector.h:169: error: previous definition of 'typename' was here
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:443: error: syntax error before '_Bvector_base'
In file included from /usr/local/pspdev/include/c++/4.0.2/vector:74,
from prog1.c:5:
/usr/local/pspdev/include/c++/4.0.2/bits/vector.tcc:319: error: conflicting type qualifiers for 'size_type'
/usr/local/pspdev/include/c++/4.0.2/bits/stl_bvector.h:430: error: previous definition of 'size_type' was here
/usr/local/pspdev/include/c++/4.0.2/bits/vector.tcc:319: error: syntax error before '__elems_after'
prog1.c:8: error: storage class specified for parameter '__lib_ent_top'
prog1.c:8: error: storage class specified for parameter '__lib_ent_bottom'
prog1.c:8: error: storage class specified for parameter '__lib_stub_top'
prog1.c:8: error: storage class specified for parameter '__lib_stub_bottom'
prog1.c:8: error: parameter 'module_info' is initialized
prog1.c:8: error: section attribute not allowed for 'module_info'
prog1.c:8: error: alignment may not be specified for 'module_info'
prog1.c:11: error: syntax error before '{' token
make: *** [prog1.o] Error 1
If you think this is to lame, just type a few google keywords or paste a link to some page that I should read - I should handle things from there.