Ive just installed Dev c++ and tried an example program as well as others included in the c++ for dummies CD. I try to compile ANYTHING and it comes up with the same error. Here is my compile log... please help if you can I really want to learn but I am unable to compile anything. If you need any other info I will get it just ask. Thanks.
//Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\DEV\Dev-Cpp\Examples\Hello\Hello.cpp" -o "C:\DEV\Dev-Cpp\Examples\Hello\Hello.exe" -I"C:\DEV\Dev-Cpp\include\c++" -I"C:\DEV\Dev-Cpp\include\c++\mingw32" -I"C:\DEV\Dev-Cpp\include\c++\backward" -I"C:\DEV\Dev-Cpp\include" -L"C:\DEV\Dev-Cpp\lib"
In file included from C:/DEV/Dev-Cpp/include/c++/cstddef:48,
from C:/DEV/Dev-Cpp/include/c++/cstdio:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/cstdio:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/cstddef:52: `ptrdiff_t' not declared
C:/DEV/Dev-Cpp/include/c++/cstddef:53: `size_t' not declared
In file included from C:/DEV/Dev-Cpp/include/stdio.h:42,
from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/stdio.h:44,
from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdio.h:204: type specifier omitted for parameter `
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:215: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdio.h:216: type specifier omitted for parameter
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:217: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:218: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter `
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter __gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:222: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:222: parse error before ,' token
C:/DEV/Dev-Cpp/include/stdio.h:223: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:223: parse error before `,' token
C:/DEV/Dev-Cpp/include/stdio.h: In function int vsnprintf(...)':
C:/DEV/Dev-Cpp/include/stdio.h:225:s' undeclared (first use this function)
C:/DEV/Dev-Cpp/include/stdio.h:225: (Each undeclared identifier is reported
only once for each function it appears in.)
C:/DEV/Dev-Cpp/include/stdio.h:225: n' undeclared (first use this function)
C:/DEV/Dev-Cpp/include/stdio.h:225:format' undeclared (first use this
function)
C:/DEV/Dev-Cpp/include/stdio.h:225: arg' undeclared (first use this function)
C:/DEV/Dev-Cpp/include/stdio.h: At global scope:
C:/DEV/Dev-Cpp/include/stdio.h:255: parse error before*' token
C:/DEV/Dev-Cpp/include/stdio.h:256: parse error before void'
C:/DEV/Dev-Cpp/include/stdio.h:348: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:349: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:350: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:351: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:356: parse error before *' token
C:/DEV/Dev-Cpp/include/stdio.h:357: parse error before,' token
C:/DEV/Dev-Cpp/include/stdio.h:358: parse error before ,' token
C:/DEV/Dev-Cpp/include/stdio.h:362: parse error before*' token
C:/DEV/Dev-Cpp/include/stdio.h:363: parse error before )' token
C:/DEV/Dev-Cpp/include/stdio.h:365:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdio.h:365: parse error before *' token
C:/DEV/Dev-Cpp/include/stdio.h:367:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdio.h:367: 'wint_t' is used as a type, but is not
defined as a type.
C:/DEV/Dev-Cpp/include/stdio.h:381: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdio.h:381: parse error before,' token
C:/DEV/Dev-Cpp/include/stdio.h:383: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdio.h:383: parse error before,' token
C:/DEV/Dev-Cpp/include/stdio.h:400: parse error before )' token
C:/DEV/Dev-Cpp/include/stdio.h:401:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdio.h:401: 'wint_t' is used as a type, but is not
defined as a type.
C:/DEV/Dev-Cpp/include/stdio.h:406: parse error before )' token
C:/DEV/Dev-Cpp/include/stdio.h:407:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdio.h:407: 'wint_t' is used as a type, but is not
defined as a type.
In file included from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/cstdio:114: fread' not declared
C:/DEV/Dev-Cpp/include/c++/cstdio:120:fwrite' not declared
In file included from C:/DEV/Dev-Cpp/include/windows.h:47,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/DEV/Dev-Cpp/include/string.h:40,
from C:/DEV/Dev-Cpp/include/winnt.h:37,
from C:/DEV/Dev-Cpp/include/windef.h:246,
from C:/DEV/Dev-Cpp/include/windows.h:48,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/winnt.h:37,
from C:/DEV/Dev-Cpp/include/windef.h:246,
from C:/DEV/Dev-Cpp/include/windows.h:48,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/string.h:52: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:53: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:54: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:55: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:56: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:62: parse error beforechar'
C:/DEV/Dev-Cpp/include/string.h:65: parse error before char'
C:/DEV/Dev-Cpp/include/string.h:66: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:67: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:68: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:71: parse error before char'
C:/DEV/Dev-Cpp/include/string.h:74: parse error before*' token
C:/DEV/Dev-Cpp/include/string.h:81: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:82: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:88: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:89: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:93: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:96: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:97: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:110: parse error beforewchar_t'
C:/DEV/Dev-Cpp/include/string.h:112: parse error before wchar_t'
C:/DEV/Dev-Cpp/include/string.h:113: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:114: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:115: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:118: parse error before `wchar_t'
C:/DEV/Dev-Cpp/include/string.h:121: parse error before *' token
C:/DEV/Dev-Cpp/include/string.h:135: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:136: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:142: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:143: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:159: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:160: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:169: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:171: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:171: parse error before)' token
C:/DEV/Dev-Cpp/include/string.h: In function int strncasecmp(...)':
C:/DEV/Dev-Cpp/include/string.h:172:sz1' undeclared (first use this
function)
C:/DEV/Dev-Cpp/include/string.h:172: __sz2' undeclared (first use this
function)
C:/DEV/Dev-Cpp/include/string.h:172:sizeMaxCompare' undeclared (first use
this function)
C:/DEV/Dev-Cpp/include/string.h: At global scope:
C:/DEV/Dev-Cpp/include/string.h:173: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:178: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:189: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/string.h:190: type specifier omitted for parameter
size_t'
In file included from C:/DEV/Dev-Cpp/include/windows.h:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/winbase.h:1116: type specifier omitted for parameter va_list'
C:/DEV/Dev-Cpp/include/winbase.h:1116: parse error before' token
C:/DEV/Dev-Cpp/include/winbase.h:1117: type specifier omitted for parameter va_list'
C:/DEV/Dev-Cpp/include/winbase.h:1117: parse error before' token
In file included from C:/DEV/Dev-Cpp/include/windows.h:55,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/winuser.h:3303: type specifier omitted for parameter va_list'
C:/DEV/Dev-Cpp/include/winuser.h:3303: parse error before)' token
C:/DEV/Dev-Cpp/include/winuser.h:3304: type specifier omitted for parameter va_list'
C:/DEV/Dev-Cpp/include/winuser.h:3304: parse error before)' token
In file included from C:/DEV/Dev-Cpp/include/stdlib.h:38,
from C:/DEV/Dev-Cpp/include/objbase.h:12,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/objbase.h:12,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdlib.h:354: parse error before *' token
C:/DEV/Dev-Cpp/include/stdlib.h:357: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:358: parse error before *' token
C:/DEV/Dev-Cpp/include/stdlib.h:359: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:364: size_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdlib.h:364:size_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdlib.h:364: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/stdlib.h:365: size_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/stdlib.h:366: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:429: type specifier omitted for parameter size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:452: type specifier omitted for parameter
size_t'
In file included from C:/DEV/Dev-Cpp/include/objbase.h:58,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/unknwn.h:17: `size_t' was not declared in this scope
In file included from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/string.h: In function BOOL IsEqualGUID(const GUID&,
const GUID&)':
C:/DEV/Dev-Cpp/include/string.h:53: too many arguments to functionint
memcmp(const void, const void)'
C:/DEV/Dev-Cpp/include/objbase.h:63: at this point in file
C:/DEV/Dev-Cpp/include/string.h: In function BOOL operator==(const GUID&,
const GUID&)':
C:/DEV/Dev-Cpp/include/string.h:53: too many arguments to functionint
memcmp(const void, const void)'
C:/DEV/Dev-Cpp/include/objbase.h:65: at this point in file
In file included from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:43: syntax error before `;'
token
In file included from C:/DEV/Dev-Cpp/include/time.h:37,
from C:/DEV/Dev-Cpp/include/c++/ctime:51,
from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/sys/types.h:38,
from C:/DEV/Dev-Cpp/include/time.h:43,
from C:/DEV/Dev-Cpp/include/c++/ctime:51,
from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/ctime:51,
from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/time.h:117: parse error before *' token
C:/DEV/Dev-Cpp/include/time.h:119: parse error before*' token
C:/DEV/Dev-Cpp/include/time.h:128: parse error before *' token
In file included from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/ctime:78:strftime' not declared
In file included from C:/DEV/Dev-Cpp/include/ctype.h:36,
from C:/DEV/Dev-Cpp/include/wchar.h:33,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/wchar.h:33,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/ctype.h:190: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:191:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:192: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:193:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:194: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:194: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h:194: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/ctype.h:195: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:195: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h:195: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/ctype.h:196: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:197:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:198: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:199:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:200: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:201:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:202: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:203:wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:213: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/ctype.h:213: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h: In function int iswalnum(...)':
C:/DEV/Dev-Cpp/include/ctype.h:213:int iswalnum(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:190: previous declaration of `int iswalnum'
C:/DEV/Dev-Cpp/include/ctype.h:190: previous non-function declaration int
iswalnum'
C:/DEV/Dev-Cpp/include/ctype.h:213: conflicts with function declarationint
iswalnum(...)'
C:/DEV/Dev-Cpp/include/ctype.h:213: wc' undeclared (first use this function)
C:/DEV/Dev-Cpp/include/ctype.h:213:iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:214: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswalpha(...)':
C:/DEV/Dev-Cpp/include/ctype.h:214: int iswalpha(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:191: previous declaration ofint iswalpha'
C:/DEV/Dev-Cpp/include/ctype.h:191: previous non-function declaration int
iswalpha'
C:/DEV/Dev-Cpp/include/ctype.h:214: conflicts with function declarationint
iswalpha(...)'
C:/DEV/Dev-Cpp/include/ctype.h:214: iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:215: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h: In function `int iswascii(...)':
C:/DEV/Dev-Cpp/include/ctype.h:215: int iswascii(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:192: previous declaration ofint iswascii'
C:/DEV/Dev-Cpp/include/ctype.h:192: previous non-function declaration int
iswascii'
C:/DEV/Dev-Cpp/include/ctype.h:215: conflicts with function declarationint
iswascii(...)'
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:216: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswcntrl(...)':
C:/DEV/Dev-Cpp/include/ctype.h:216: int iswcntrl(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:193: previous declaration ofint iswcntrl'
C:/DEV/Dev-Cpp/include/ctype.h:193: previous non-function declaration `int
iswcntrl'
C:/DEV/Dev-Cpp/include/ctype.h:216: conflicts with function declaration int
iswcntrl(...)'
C:/DEV/Dev-Cpp/include/ctype.h:216:iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:217: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswdigit(...)':
C:/DEV/Dev-Cpp/include/ctype.h:217: int iswdigit(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:196: previous declaration ofint iswdigit'
C:/DEV/Dev-Cpp/include/ctype.h:196: previous non-function declaration int
iswdigit'
C:/DEV/Dev-Cpp/include/ctype.h:217: conflicts with function declarationint
iswdigit(...)'
C:/DEV/Dev-Cpp/include/ctype.h:217: `iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:218: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswgraph(...)':
C:/DEV/Dev-Cpp/include/ctype.h:218: int iswgraph(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:197: previous declaration ofint iswgraph'
C:/DEV/Dev-Cpp/include/ctype.h:197: previous non-function declaration int
iswgraph'
C:/DEV/Dev-Cpp/include/ctype.h:218: conflicts with function declarationint
iswgraph(...)'
C:/DEV/Dev-Cpp/include/ctype.h:218: iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:219: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h: In function int iswlower(...)':
C:/DEV/Dev-Cpp/include/ctype.h:219:int iswlower(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:198: previous declaration of int iswlower'
C:/DEV/Dev-Cpp/include/ctype.h:198: previous non-function declarationint
iswlower'
C:/DEV/Dev-Cpp/include/ctype.h:219: conflicts with function declaration int
iswlower(...)'
C:/DEV/Dev-Cpp/include/ctype.h:219:iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:220: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswprint(...)':
C:/DEV/Dev-Cpp/include/ctype.h:220: int iswprint(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:199: previous declaration ofint iswprint'
C:/DEV/Dev-Cpp/include/ctype.h:199: previous non-function declaration int
iswprint'
C:/DEV/Dev-Cpp/include/ctype.h:220: conflicts with function declarationint
iswprint(...)'
C:/DEV/Dev-Cpp/include/ctype.h:220: iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:221: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h: In function int iswpunct(...)':
C:/DEV/Dev-Cpp/include/ctype.h:221:int iswpunct(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:200: previous declaration of int iswpunct'
C:/DEV/Dev-Cpp/include/ctype.h:200: previous non-function declarationint
iswpunct'
C:/DEV/Dev-Cpp/include/ctype.h:221: conflicts with function declaration int
iswpunct(...)'
C:/DEV/Dev-Cpp/include/ctype.h:221:iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:222: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswspace(...)':
C:/DEV/Dev-Cpp/include/ctype.h:222: int iswspace(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:201: previous declaration ofint iswspace'
C:/DEV/Dev-Cpp/include/ctype.h:201: previous non-function declaration int
iswspace'
C:/DEV/Dev-Cpp/include/ctype.h:222: conflicts with function declarationint
iswspace(...)'
C:/DEV/Dev-Cpp/include/ctype.h:222: iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:223: parse error before)' token
C:/DEV/Dev-Cpp/include/ctype.h: In function int iswupper(...)':
C:/DEV/Dev-Cpp/include/ctype.h:223:int iswupper(...)' redeclared as different
kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:202: previous declaration of int iswupper'
C:/DEV/Dev-Cpp/include/ctype.h:202: previous non-function declarationint
iswupper'
C:/DEV/Dev-Cpp/include/ctype.h:223: conflicts with function declaration int
iswupper(...)'
C:/DEV/Dev-Cpp/include/ctype.h:223:iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:224: parse error before )' token
C:/DEV/Dev-Cpp/include/ctype.h: In functionint iswxdigit(...)':
C:/DEV/Dev-Cpp/include/ctype.h:224: int iswxdigit(...)' redeclared as
different kind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:203: previous declaration ofint iswxdigit'
C:/DEV/Dev-Cpp/include/ctype.h:203: previous non-function declaration int
iswxdigit'
C:/DEV/Dev-Cpp/include/ctype.h:224: conflicts with function declarationint
iswxdigit(...)'
C:/DEV/Dev-Cpp/include/ctype.h:224: `iswctype' cannot be used as a function
In file included from C:/DEV/Dev-Cpp/include/wchar.h:44,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/wchar.h: At global scope:
C:/DEV/Dev-Cpp/include/wchar.h:286: parse error before )' token
C:/DEV/Dev-Cpp/include/wchar.h:287: parse error beforechar'
C:/DEV/Dev-Cpp/include/wchar.h:288: parse error before *' token
C:/DEV/Dev-Cpp/include/wchar.h:289: parse error before' token
C:/DEV/Dev-Cpp/include/wchar.h:291: parse error before *' token
C:/DEV/Dev-Cpp/include/wchar.h:292: parse error before' token
C:/DEV/Dev-Cpp/include/wchar.h:293: wint_t' was not declared in this scope
C:/DEV/Dev-Cpp/include/wchar.h:298: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:298: parse error before )' token
C:/DEV/Dev-Cpp/include/wchar.h:299: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:299: parse error before )' token
C:/DEV/Dev-Cpp/include/wchar.h:300: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:300: parse error before )' token
C:/DEV/Dev-Cpp/include/wchar.h:302: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:302: parse error before )' token
C:/DEV/Dev-Cpp/include/wchar.h:303: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:303: parse error before )' token
In file included from C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:45,
from C:/DEV/Dev-Cpp/include/c++/ios:46,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/cstring:89:strxfrm' not declared
C:/DEV/Dev-Cpp/include/c++/cstring:90: strcspn' not declared
C:/DEV/Dev-Cpp/include/c++/cstring:91:strspn' not declared
C:/DEV/Dev-Cpp/include/c++/cstring:95: strlen' not declared
C:/DEV/Dev-Cpp/include/c++/cstring:100: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/c++/cstring:100: parse error before )' token
C:/DEV/Dev-Cpp/include/c++/cstring: In functionvoid* std::memchr(...)':
C:/DEV/Dev-Cpp/include/c++/cstring:101: __p' undeclared (first use this
function)
C:/DEV/Dev-Cpp/include/c++/cstring:101:__c' undeclared (first use this
function)
C:/DEV/Dev-Cpp/include/c++/cstring:101: __n' undeclared (first use this
function)
In file included from C:/DEV/Dev-Cpp/include/c++/ios:46,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:73: type specifier omitted for
parametersize_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:73: parse error before )' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:76: parse error before(' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:79: type specifier omitted for
parameter size_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:79: parse error before,' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:82: type specifier omitted for
parameter size_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:82: parse error before)' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:85: type specifier omitted for
parameter size_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:85: parse error before)' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:88: type specifier omitted for
parameter size_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:88: parse error before,' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:130: type specifier omitted for
parameter size_t'
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:130: parse error before)' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:134: parse error before `(' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In static member function static int std::char_traits<char>::compare(...)':
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:131:__s1' undeclared (first use
this function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:131: __s2' undeclared (first use
this function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:137: ISO C++ forbids defining
types within return type
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:137: syntax error before'
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:138: parse error before `' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In function int*
std::find(...)':
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:139: parse error before' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:141: syntax error before *'
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:145: syntax error before'
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:149: syntax error before *'
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:154: syntax error before('
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:160: syntax error before ('
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:164: parse error before&' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In function bool
eq_int_type(...)':
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:165:__c1' undeclared (first use
this function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:165: __c2' undeclared (first use
this function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:168: syntax error before('
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:171: syntax error before ('
token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:250: parse error before}' token
In file included from C:/DEV/Dev-Cpp/include/locale.h:56,
from C:/DEV/Dev-Cpp/include/c++/clocale:49,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++locale.h:36,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:46,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:67,
from C:/DEV/Dev-Cpp/include/c++/memory:54,
from C:/DEV/Dev-Cpp/include/c++/string:48,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/cstdlib:105: `mbstowcs' not declared
C:/DEV/Dev-Cpp/include/c++/cstdlib:115: wcstombs' not declared
In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:69,
from C:/DEV/Dev-Cpp/include/c++/memory:54,
from C:/DEV/Dev-Cpp/include/c++/string:48,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/new:79:size_t' undeclared in namespace `std'
C:/DEV/Dev-Cpp/include/c++/new:79: declaration of operator new' as
non-function
C:/DEV/Dev-Cpp/include/c++/new:79: invalid declarator
C:/DEV/Dev-Cpp/include/c++/new:80:size_t' undeclared in namespace std'
C:/DEV/Dev-Cpp/include/c++/new:80: declaration ofoperator new []' as
non-function
C:/DEV/Dev-Cpp/include/c++/new:80: invalid declarator
C:/DEV/Dev-Cpp/include/c++/new:83: size_t' undeclared in namespacestd'
C:/DEV/Dev-Cpp/include/c++/new:83: parse error before ::' token
C:/DEV/Dev-Cpp/include/c++/new:83:operator new' takes type size_t' (
unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new:84: size_t' undeclared in namespacestd'
C:/DEV/Dev-Cpp/include/c++/new:84: parse error before ::' token
C:/DEV/Dev-Cpp/include/c++/new:84:operator new' takes type size_t' (
unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new:89: size_t' undeclared in namespacestd'
C:/DEV/Dev-Cpp/include/c++/new:89: parse error before `*' token
C:/DEV/Dev-Cpp/include/c++/new:89: operator new' takes typesize_t' (`
unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new: In function `void* operator new(unsigned int,
...)':
C:/DEV/Dev-Cpp/include/c++/new:89: __p' undeclared (first use this function)
C:/DEV/Dev-Cpp/include/c++/new: At global scope:
C:/DEV/Dev-Cpp/include/c++/new:90:size_t' undeclared in namespace std'
C:/DEV/Dev-Cpp/include/c++/new:90: parse error before*' token
C:/DEV/Dev-Cpp/include/c++/new:90: operator new' takes typesize_t' (`
unsigned int') as first parameter
In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:73,
from C:/DEV/Dev-Cpp/include/c++/memory:54,
from C:/DEV/Dev-Cpp/include/c++/string:48,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:100: parse error
before `,' token
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: template
declaration of `typedef _Tp std::value_type'
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: confused by earlier errors, bailing out
Execution terminated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The version of Dev included on that CD is very old and very buggy - 4.9.7.0
You need to do a clean uninstall - there are directions for doing this in the thread titled "Please Read Before Posting a Question" - it is very important that you take the time to look at them, as simply running the uninstaller leaves traces that will cause later issues.
Them, download the newest version of Dev from the website, and install it.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im actually on a ship in the middle of the ocean and we are not allowed to download. Even if we were the connection is terribly slow. So if possible, anything that will be able to get this to work is worth my time (which I have alot of). Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The best approach is to take the errors one at a time from top to bottom. Most often large numbers of them have thw same root cause, so fixing one may fix them all. "Read 'em don't count 'em" I say.
So the first error is:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
It may be hard to spot, all the preceding text is just the preamble to this to show by what series of nested includes it got to here.
Now first I might have suggested installing to the default path (C:/Dev-Cpp) rather than C:/DEV/Dev-Cpp, but let's go with that for now. Use Window's file search to seek out the file stddef.h and then report back its location.
Also find line 48 of the file C:/DEV/Dev-Cpp/include/c++/cstddef, and report that here too.
Those two pieces of information may provide the necessary information for us (or perhaps just me!) to guide you to a solution or partial solution. Then when you try that, post the log again and we shall proceed thus, until we get there.
Be aware that you probably have more time that I it seems, and are no doubt in a different (and possibly varying) time zone, so there may be some latency in response.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The File stddef.h was in the location C:\Dev-cpp\include\
The file cstddef was in the location
C:\Dev-cpp\include\c++\
I dont know where they are supposed to be but that looked like the right locations for both. Now Im not sure what type of file cstddef is supposed to be but when i clicked on properties it said it was just a file. not a .h or .cpp or anything for that matter. Thanks for the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cstddef is merely a header file. I C++ standard headers do not have extensions. You can simply drag and drop it into a text editor (like Dev-C++ for example), or open it via the File menu in a text editor or Dev-C++ itself.
You say the files are in C:\Dev-cpp\include\c++\ and C:\Dev-cpp\include\, but from your log, your installation appears to be in C:\DEV\Dev-cpp\, and the paths specified to the compiler are C:\DEV\Dev-cpp\include\c++\ and C:\DEV\Dev-cpp\include\ . However your log clearly shows cstddef residing in C:/DEV/Dev-Cpp/include/c++/, so are you sure that you have these paths right, or have you moved the installation since your last log? You could probably fix this by changing the compiler and project settings or by moving files around, but in this case, it would be better to simply uninstall and reinstall.
If you do reinstall, it is most important that you follow the directions in the "PLEASE READ BEFORE POSTING A QUESTION" thread for doing so to the letter, and additionally delete both the c:\DEV\Dev-cpp and C:\Dev-Cpp trees.
Another issue I have spotted is that you are building the code in C:\DEV\Dev-Cpp\Examples\Hello\Hello.cpp", don't do that. There is a strange bug in Dev-C++ that can cause projects in subfolders of the installation folder to fail to build (in fact that may be your only problem, so you might try that first), copy the C:\DEV\Dev-Cpp\Examples\ folder to somewhere else. Besides if you are going to be playing with teh example code, you will want to keep and untouched copy of the originals in any case.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, thats why it is different. I had done the clean uninstall since my last post. So it is all in the original location it installs to. Ive done the clean uninstall per instructions on the "PLEASE READ" post. Many times actually and still no luck. I have installed it on a friends computer who also has vista and it works fine. Everytime I install it. Which leads me to believe it may be something with my computer. I dont know how. I will try to move the codes elsewhere and then try. But as of now....still nothing even after the clean uninstill.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please note that the instructions for doing a clean install, say, in pretty strident terms to be sure, that - if you are still having problems after a clean uninstall, you needed to report to us EXACTLY, step by step, what you did. Note that indicating you did things "per instrcutions" does not remotely satisfy that requirement. ;)
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Going back a few steps, I would still like to see line 48 of the file C:/Dev-Cpp/include/c++/cstddef. I am trying to determine how it is trying to include stddef.h and whether that is consistent with the -I<path> options passed to the compiler.
Also every time you change something, re-post the log - even if you think it has not changes. It provides some subtle and useful information. Fore example previously it would have told me that you have now installed the tools to a new location. Now it might tell us whether those changes were reflected in the build options and that you have not just introduced new problems!
Note that if the log remains as long as teh last one, it is necessary to post it all, the first five or so errors is sufficient. But remember all those lines like;
In file included from ...
from ...
from ...
are not the errors, they are preamble to indicate the sequence of nested files #include'd to the point of error. We need that, but don't include it in the error count, otherwise you'd omit teh actual error!
The quickest way to resolve this issue would be to allow use to remotely debug your problem by essentially responding robotically and reporting back the results of each instruction. That is not so hard as it sound, mostly posting the log provides the information we need.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok so here is the file.....I looked up line #48 and it is: #include <stddef.h>
here it is.
// -- C++ -- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
//
// ISO C++ 14882: 18.1 Types
//
/ @file cstddef
* This is a Standard C++ Library file. You should @c #include this file
* in your programs, rather than any of the ".h" implementation files.
* This is the C++ version of the Standard C Library header @c stddef.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
*/
ifndef _CPP_CSTDDEF
define _CPP_CSTDDEF 1
pragma GCC system_header
include <stddef.h>
namespace std
{
using ::ptrdiff_t;
using ::size_t;
}
endif
Ok here is the compile log also, not all but most.
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Examples\Hello\Hello.cpp" -o "C:\Examples\Hello\Hello.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
In file included from C:/Dev-Cpp/include/c++/cstddef:48,
from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/c++/cstddef:52: ptrdiff_t' not declared
C:/Dev-Cpp/include/c++/cstddef:53:size_t' not declared
In file included from C:/Dev-Cpp/include/stdio.h:42,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/stdio.h:44,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdio.h:204: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdio.h:215: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:216: type specifier omitted for parameter __gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:217: type specifier omitted for parameter
gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:218: type specifier omitted for parameter ` gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:222: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdio.h:222: parse error before,' token
C:/Dev-Cpp/include/stdio.h:223: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdio.h:223: parse error before,' token
C:/Dev-Cpp/include/stdio.h: In function int vsnprintf(...)':
C:/Dev-Cpp/include/stdio.h:225:s' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225: (Each undeclared identifier is reported only
once for each function it appears in.)
C:/Dev-Cpp/include/stdio.h:225: n' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225:format' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h:225: arg' undeclared (first use this function)
C:/Dev-Cpp/include/stdio.h: At global scope:
C:/Dev-Cpp/include/stdio.h:255: parse error before*' token
C:/Dev-Cpp/include/stdio.h:256: parse error before void'
C:/Dev-Cpp/include/stdio.h:348: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:349: type specifier omitted for parameter __gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:350: type specifier omitted for parameter gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:351: type specifier omitted for parameter __gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter __gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:356: parse error before*' token
C:/Dev-Cpp/include/stdio.h:357: parse error before ,' token
C:/Dev-Cpp/include/stdio.h:358: parse error before,' token
C:/Dev-Cpp/include/stdio.h:362: parse error before *' token
C:/Dev-Cpp/include/stdio.h:363: parse error before)' token
C:/Dev-Cpp/include/stdio.h:365: wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:365: parse error before*' token
C:/Dev-Cpp/include/stdio.h:367: wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:367: 'wint_t' is used as a type, but is not defined
as a type.
C:/Dev-Cpp/include/stdio.h:381: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:381: parse error before ,' token
C:/Dev-Cpp/include/stdio.h:383: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:383: parse error before ,' token
C:/Dev-Cpp/include/stdio.h:400: parse error before)' token
C:/Dev-Cpp/include/stdio.h:401: wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:401: 'wint_t' is used as a type, but is not defined
as a type.
C:/Dev-Cpp/include/stdio.h:406: parse error before)' token
C:/Dev-Cpp/include/stdio.h:407: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:407: 'wint_t' is used as a type, but is not defined
as a type.
In file included from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/c++/cstdio:114: fread' not declared
C:/Dev-Cpp/include/c++/cstdio:120:fwrite' not declared
In file included from C:/Dev-Cpp/include/windows.h:47,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/string.h:40,
from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/string.h:52: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:53: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:54: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:55: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:56: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:62: parse error before char'
C:/Dev-Cpp/include/string.h:65: parse error beforechar'
C:/Dev-Cpp/include/string.h:66: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:67: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:68: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:71: parse error beforechar'
C:/Dev-Cpp/include/string.h:74: parse error before *' token
C:/Dev-Cpp/include/string.h:81: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:82: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:88: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:89: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:93: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:96: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:97: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:110: parse error before wchar_t'
C:/Dev-Cpp/include/string.h:112: parse error beforewchar_t'
C:/Dev-Cpp/include/string.h:113: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:114: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:115: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:118: parse error beforewchar_t'
C:/Dev-Cpp/include/string.h:121: parse error before *' token
C:/Dev-Cpp/include/string.h:135: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:136: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:142: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:143: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:159: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:160: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:169: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:171: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:171: parse error before)' token
C:/Dev-Cpp/include/string.h: In function `int strncasecmp(...)':
C:/Dev-Cpp/include/string.h:172: __sz1' undeclared (first use this function)
C:/Dev-Cpp/include/string.h:172:sz2' undeclared (first use this function)
C:/Dev-Cpp/include/string.h:172: `sizeMaxCompare' undeclared (first use this
function)
Thanks again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I am clutching at straws somewhat, but I guess until you dock and can get to an Intenet Cafe we need to keep trying. I am going to number the following points for reference, and so we can keep track of the discussion, while starting multiple threads of enquiry asynchronously:
(1) I notice that you appear to be loading "C:\Examples\Hello\Hello.cpp" and compiling without using the project facility. Is "C:\Examples\Hello\" and example provided with Dev-C++ or one you created yourself?
(2) If in (1), hello.cpp was provided with Dev-C++, does that folder contain a project file (with a .dev file extension)? If so open that, and perform "Rebuild All". Note you can open a project from the File menu or double click it in Windows Explorer since it will be associated with Dev-C++.
(3) Have you tried any of the default project templates? File->New->Project, select "Introductory\Hello World" (or something like that, it may be different in your version). Save the project in a new empty folder and build that.
I always recommend that you use the project facility rather than just opening a source file and compiling, you get much more control and repeatability (the settings are stored with the project rather than using the prevailing compiler options). I have no idea if this will actually help, but as I said, I am clutching at straws here! The project facility is also the way in which Dev-C++ supports projects builds with multiple sources.
(4) Another point, you are running on Vista, but do not seem to be suffering from teh usual problems caused by using 4.9.9.2 on Vista. Perhaps the problem does not affect your version, or possibly it merely results in different failure symptoms. It can do no harm to apply the 'fix' for Vista problems as described in the "PLEASE READ BEFORE POSTING A QUESTION" thread.
(5) Do you possibly have any (or ever had any) other GNU based software development tools installed on the PC in question? Such as Cygwin for example.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh! I am a blind fool. I asked for the wrong information earlier. What I need to see is line 6 of C:/Dev-Cpp/include/stddef.h.
The message:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
shows that this file is attempting to include a header file "stddef.h". A file cannot include itself, so this line must specify a path that does not exist, or it is included with the #include_next directive and the list of include paths is in the wrong order, or incomplete. Or a combination of the above!
(a) Is there more than one file called stddef.h? Report the location of all of them.
(b) Post the log of a sucessful build (Rebuild All) from the machine that you say Dev-C++ is working on. For comparison.
I am thinking that the position of the -I"C:\Dev-Cpp\include" option in the command line may be significant in this.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok. First, I moved that examples folder out of the Dev-Cpp folder because you said that its not good to run programs out of the main folder. But yes, Hello.cpp is part of the Dev-C++. I tried the project thing and opened up the intro project for hello...still same error.
I have not had any other development tools installed on my computer. This is the first. BUT there is something called "Microsoft Visual C++ 2005 Redistributable." In my programs when I go to uninstall anything. But its NOT a program. I dont know what it is.
Here is the file stddf.h
Line#6 being:
include_next <stddef.h>
/
* This is just an RC_INVOKED guard for the real stddef.h
* fixincluded in gcc system dir. One day we will delete this file. /
ifndef RC_INVOKED
include_next <stddef.h>
endif
I did not find another stddef.h file anywhere. Theres only one.
I could not get a successfull compile log from another system because the guy I got that from is in bed already. I will get that tomorrow.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I think we are getting somewhere, but we do need the additional information from the other machine.
The RC_INVOKED line merely determines that the following line not processed if the include is in a resource script rather than C/C++ code.
For information "Microsoft Visual C++ 2005 Redistributable" is a package of run-time libraries to support programs developed using MSVC++ 2005. It may have been installed as a result of some other application installation. Dev-C++ (or rather MinGW) also requires a runtime library, but it uses an MSVC++ 6.0 library that now gets installed as part of the Windows OS.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm.... Identical build settings. However you did not provide the results of the "stddef.h" search on this other machine. There should be a second stddef.h, or the stddef.h on this machine differs from yours and does not need the second file.
If you find one, what is its path? Does that path exist on your machine? Copy all the files from that folder to the corresponding folder on your machine.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found two stddef.h files on the working machine and mine. they were all in the same place:
The long one which is different from the RC_INVOKED one was at:
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/ As a special exception, if you include this header file into source
files compiled by GCC, this header file does not by itself cause
the resulting executable to be covered by the GNU General Public
License. This exception does not however invalidate any other
reasons why the executable file might be covered by the GNU General
Public License. /
/
* ISO C Standard: 7.17 Common definitions <stddef.h> /
if (!defined(STDDEF_H) && !defined(_STDDEF_H) && !defined(_ANSI_STDDEF_H) \
/ Any one of these symbols __need_ means that GNU libc
wants us just to define one data type. So don't define
the symbols that indicate this file's entire job has been done. */
if (!defined(need_wchar_t) && !defined(need_size_t) \
/ This avoids lossage on SunOS but only if stdtypes.h comes first.
There's no way to win with the other order! Sun lossage. /
/ On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. /
if defined (BSD_NET2) || defined (_386BSD_) || defined (FreeBSD) || defined(NetBSD)
include <machine/ansi.h>
endif
/ In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
defined if the corresponding type is not defined.
FreeBSD-2.1 defines MACHINE_ANSI_H instead of ANSI_H/
if defined(ANSI_H) || defined(MACHINE_ANSI_H)
if !defined(SIZE_T) && !defined(BSD_SIZE_T)
define _SIZE_T
endif
if !defined(PTRDIFF_T) && !defined(BSD_PTRDIFF_T)
define _PTRDIFF_T
endif
/ On BSD/386 1.1, at least, machine/ansi.h defines BSD_WCHAR_T
instead of WCHAR_T. /
if !defined(WCHAR_T) && !defined(BSD_WCHAR_T)
ifndef BSD_WCHAR_T
define _WCHAR_T
endif
endif
/ Undef FOO_T if we are supposed to define foo_t. /
if defined (__need_ptrdiff_t) || defined (STDDEF_H)
/ Sequent's header files use PTRDIFF_T in some conflicting way.
Just ignore it. /
if defined (sequent) && defined (PTRDIFF_T)
undef PTRDIFF_T
endif
/ On VxWorks, <type/vxTypesBase.h> may have defined macros like
_TYPE_size_t which will typedef size_t. fixincludes patched the
vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
not defined, and so that defining this macro defines _GCC_SIZE_T.
If we find that the macros are still defined at this point, we must
invoke them so that the type is defined as expected. /
if defined (TYPE_ptrdiff_t) && (defined (__need_ptrdiff_t) || defined (_STDDEF_H))
_TYPE_ptrdiff_t;
undef _TYPE_ptrdiff_t
endif
if defined (TYPE_size_t) && (defined (__need_size_t) || defined (_STDDEF_H))
_TYPE_size_t;
undef _TYPE_size_t
endif
if defined (TYPE_wchar_t) && (defined (__need_wchar_t) || defined (_STDDEF_H))
_TYPE_wchar_t;
undef _TYPE_wchar_t
endif
/ In case nobody has defined these types, but we aren't running under
GCC 2.00, make sure that PTRDIFF_TYPE, SIZE_TYPE, and WCHAR_TYPE have reasonable values. This can happen if the
parts of GCC is compiled by an older compiler, that actually
include gstddef.h, such as collect2. /
/ Signed type of difference of two pointers. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_ptrdiff_t)
ifndef _PTRDIFF_T / in case <sys/types.h> has defined it. /
ifndef T_PTRDIFF
ifndef _T_PTRDIFF
ifndef __PTRDIFF_T
ifndef PTRDIFF_T
ifndef BSD_PTRDIFF_T
ifndef ___int_ptrdiff_t_h
ifndef _GCC_PTRDIFF_T
define _PTRDIFF_T
define T_PTRDIFF
define _T_PTRDIFF
define __PTRDIFF_T
define PTRDIFF_T
define BSD_PTRDIFF_T
define ___int_ptrdiff_t_h
define _GCC_PTRDIFF_T
ifndef PTRDIFF_TYPE
define PTRDIFF_TYPE long int
endif
typedef PTRDIFF_TYPE ptrdiff_t;
endif / _GCC_PTRDIFF_T /
endif / ___int_ptrdiff_t_h /
endif /BSD_PTRDIFF_T/
endif /PTRDIFF_T/
endif / __PTRDIFF_T /
endif / _T_PTRDIFF /
endif /T_PTRDIFF/
endif / _PTRDIFF_T /
/ If this symbol has done its job, get rid of it. /
undef __need_ptrdiff_t
endif / _STDDEF_H or __need_ptrdiff_t. /
/ Unsigned type of `sizeof' something. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_size_t)
ifndef size_t / BeOS /
ifndef SIZE_T / Cray Unicos/Mk /
ifndef _SIZE_T / in case <sys/types.h> has defined it. /
ifndef _SYS_SIZE_T_H
ifndef T_SIZE
ifndef _T_SIZE
ifndef __SIZE_T
ifndef SIZE_T
ifndef BSD_SIZE_T
ifndef SIZE_T_DEFINED
ifndef _SIZE_T_DEFINED
ifndef ___int_size_t_h
ifndef _GCC_SIZE_T
ifndef SIZET
ifndef __size_t
define size_t / BeOS /
define SIZE_T / Cray Unicos/Mk /
define _SIZE_T
define _SYS_SIZE_T_H
define T_SIZE
define _T_SIZE
define __SIZE_T
define SIZE_T
define BSD_SIZE_T
define SIZE_T_DEFINED
define _SIZE_T_DEFINED
define ___int_size_t_h
define _GCC_SIZE_T
define SIZET
define __size_t
ifndef SIZE_TYPE
define SIZE_TYPE long unsigned int
endif
if !(defined (GNUG) && defined (size_t))
typedef SIZE_TYPE size_t;
ifdef BEOS
typedef long ssize_t;
endif /BEOS/
endif / !(defined (GNUG) && defined (size_t)) /
endif / __size_t /
endif /SIZET/
endif / _GCC_SIZE_T /
endif / ___int_size_t_h /
endif / _SIZE_T_DEFINED /
endif /SIZE_T_DEFINED/
endif /BSD_SIZE_T/
endif /SIZE_T/
endif / __SIZE_T /
endif / _T_SIZE /
endif /T_SIZE/
endif / _SYS_SIZE_T_H /
endif / _SIZE_T /
endif /SIZE_T/
endif /size_t/
undef __need_size_t
endif / _STDDEF_H or __need_size_t. /
/ Wide character type.
Locale-writers should change this as necessary to
be big enough to hold unique values not between 0 and 127,
and not (wchar_t) -1, for each defined multibyte character. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_wchar_t)
ifndef wchar_t / BeOS /
ifndef WCHAR_T / Cray Unicos/Mk /
ifndef _WCHAR_T
ifndef T_WCHAR
ifndef _T_WCHAR
ifndef __WCHAR_T
ifndef WCHAR_T
ifndef BSD_WCHAR_T
ifndef BSD_WCHAR_T_DEFINED / Darwin /
ifndef WCHAR_T_DEFINED
ifndef _WCHAR_T_DEFINED
ifndef _WCHAR_T_H
ifndef ___int_wchar_t_h
ifndef __INT_WCHAR_T_H
ifndef _GCC_WCHAR_T
define wchar_t / BeOS /
define WCHAR_T / Cray Unicos/Mk /
define _WCHAR_T
define T_WCHAR
define _T_WCHAR
define __WCHAR_T
define WCHAR_T
define BSD_WCHAR_T
define WCHAR_T_DEFINED
define _WCHAR_T_DEFINED
define _WCHAR_T_H
define ___int_wchar_t_h
define __INT_WCHAR_T_H
define _GCC_WCHAR_T
/ On BSD/386 1.1, at least, machine/ansi.h defines BSD_WCHAR_T
instead of WCHAR_T, and BSD_RUNE_T (which, unlike the other
symbols in the FOO_T family, stays defined even after its
corresponding type is defined). If we define wchar_t, then we
must undef WCHAR_T; for BSD/386 1.1 (and perhaps others), if
we undef WCHAR_T, then we must also define rune_t, since
headers like runetype.h assume that if machine/ansi.h is included,
and BSD_WCHAR_T is not defined, then rune_t is available.
machine/ansi.h says, "Note that WCHAR_T and RUNE_T must be of
the same type." /
ifdef BSD_WCHAR_T
undef BSD_WCHAR_T
ifdef BSD_RUNE_T
if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE)
typedef BSD_RUNE_T rune_t;
define BSD_WCHAR_T_DEFINED
if defined (FreeBSD)
/ Why is this file so hard to maintain properly? In constrast to
the comment above regarding BSD/386 1.1, on FreeBSD for as long
as the symbol has existed, BSD_RUNE_T must not stay defined or
redundant typedefs will occur when stdlib.h is included after this file. /
undef BSD_RUNE_T
endif
endif
endif
endif
ifndef WCHAR_TYPE
define WCHAR_TYPE int
endif
ifndef __cplusplus
typedef WCHAR_TYPE wchar_t;
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif /WCHAR_T/
endif /wchar_t/
undef __need_wchar_t
endif / _STDDEF_H or __need_wchar_t. /
if defined (__need_wint_t)
ifndef _WINT_T
define _WINT_T
ifndef WINT_TYPE
define WINT_TYPE unsigned int
endif
typedef WINT_TYPE wint_t;
endif
undef __need_wint_t
endif
/ In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
are already defined. /
/ BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. /
if defined(ANSI_H) || defined(MACHINE_ANSI_H)
/ The references to GCC_PTRDIFF_T, GCC_SIZE_T, and GCC_WCHAR_T
are probably typos and should be removed before 2.8 is released. /
ifdef GCC_PTRDIFF_T
undef PTRDIFF_T
undef BSD_PTRDIFF_T
endif
ifdef GCC_SIZE_T
undef SIZE_T
undef BSD_SIZE_T
endif
ifdef GCC_WCHAR_T
undef WCHAR_T
undef BSD_WCHAR_T
endif
/ The following ones are the real ones. /
ifdef _GCC_PTRDIFF_T
undef PTRDIFF_T
undef BSD_PTRDIFF_T
endif
ifdef _GCC_SIZE_T
undef SIZE_T
undef BSD_SIZE_T
endif
ifdef _GCC_WCHAR_T
undef WCHAR_T
undef BSD_WCHAR_T
endif
endif /ANSI_H || MACHINE_ANSI_H/
endif / __sys_stdtypes_h /
/ A null pointer constant. /
if defined (_STDDEF_H) || defined (__need_NULL)
undef NULL / in case <stdio.h> has defined it. /
ifdef GNUG
define NULL __null
else / G++ /
ifndef __cplusplus
define NULL ((void *)0)
else / C++ /
define NULL 0
endif / C++ /
endif / G++ /
endif / NULL not defined and <stddef.h> or need NULL. /
undef __need_NULL
ifdef _STDDEF_H
/ Offset of member MEMBER in a struct of type TYPE. /
I didn't need the content (that was only needed if the other machine had only one stddef.h file), it was sufficient that it was there and not on yours - that is the problem.
What of my other question? Does that path exist on your machine?
And did you try the suggested solution: Copy all the files from that folder to the corresponding folder on your machine.
It may be easier (since it is likely that this is not the only problem file) to simply copy the whole of c:\dev-cpp\ from this other machine to yours. The fact that you have installed the program should ensure that the configuration files, associations, and any registry entries etc. are correct. All you need is a complete file set.
I reckon that's fix it.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The paths for both of the files exist on both machines. I even copied the dev-cpp folder of the working machine and replaced mine with it. And it still does not work, same exact error. Its gotta be something with my computer. Thanks for all the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ive just installed Dev c++ and tried an example program as well as others included in the c++ for dummies CD. I try to compile ANYTHING and it comes up with the same error. Here is my compile log... please help if you can I really want to learn but I am unable to compile anything. If you need any other info I will get it just ask. Thanks.
//Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\DEV\Dev-Cpp\Examples\Hello\Hello.cpp" -o "C:\DEV\Dev-Cpp\Examples\Hello\Hello.exe" -I"C:\DEV\Dev-Cpp\include\c++" -I"C:\DEV\Dev-Cpp\include\c++\mingw32" -I"C:\DEV\Dev-Cpp\include\c++\backward" -I"C:\DEV\Dev-Cpp\include" -L"C:\DEV\Dev-Cpp\lib"
In file included from C:/DEV/Dev-Cpp/include/c++/cstddef:48,
from C:/DEV/Dev-Cpp/include/c++/cstdio:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/cstdio:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
C:/DEV/Dev-Cpp/include/c++/cstddef:52: `ptrdiff_t' not declared
C:/DEV/Dev-Cpp/include/c++/cstddef:53: `size_t' not declared
In file included from C:/DEV/Dev-Cpp/include/stdio.h:42,
from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/stdio.h:44,
from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
C:/DEV/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/DEV/Dev-Cpp/include/c++/cstdio:52,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdio.h:204: type specifier omitted for parameter `
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:215: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdio.h:216: type specifier omitted for parameter
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:217: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:218: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter `
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter
__gnuc_va_list' C:/DEV/Dev-Cpp/include/stdio.h:222: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:222: parse error before
,' token C:/DEV/Dev-Cpp/include/stdio.h:223: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:223: parse error before `,' token
C:/DEV/Dev-Cpp/include/stdio.h: In function
int vsnprintf(...)': C:/DEV/Dev-Cpp/include/stdio.h:225:
s' undeclared (first use this function)C:/DEV/Dev-Cpp/include/stdio.h:225: (Each undeclared identifier is reported
only once for each function it appears in.)
C:/DEV/Dev-Cpp/include/stdio.h:225:
n' undeclared (first use this function) C:/DEV/Dev-Cpp/include/stdio.h:225:
format' undeclared (first use thisfunction)
C:/DEV/Dev-Cpp/include/stdio.h:225:
arg' undeclared (first use this function) C:/DEV/Dev-Cpp/include/stdio.h: At global scope: C:/DEV/Dev-Cpp/include/stdio.h:255: parse error before
*' tokenC:/DEV/Dev-Cpp/include/stdio.h:256: parse error before
void' C:/DEV/Dev-Cpp/include/stdio.h:348: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdio.h:349: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:350: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:351: type specifier omitted for parameter `
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter
__gnuc_va_list'
C:/DEV/Dev-Cpp/include/stdio.h:356: parse error before
*' token C:/DEV/Dev-Cpp/include/stdio.h:357: parse error before
,' tokenC:/DEV/Dev-Cpp/include/stdio.h:358: parse error before
,' token C:/DEV/Dev-Cpp/include/stdio.h:362: parse error before
*' tokenC:/DEV/Dev-Cpp/include/stdio.h:363: parse error before
)' token C:/DEV/Dev-Cpp/include/stdio.h:365:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/stdio.h:365: parse error before
*' token C:/DEV/Dev-Cpp/include/stdio.h:367:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/stdio.h:367: 'wint_t' is used as a type, but is not
defined as a type.
C:/DEV/Dev-Cpp/include/stdio.h:381: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdio.h:381: parse error before
,' tokenC:/DEV/Dev-Cpp/include/stdio.h:383: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdio.h:383: parse error before
,' tokenC:/DEV/Dev-Cpp/include/stdio.h:400: parse error before
)' token C:/DEV/Dev-Cpp/include/stdio.h:401:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/stdio.h:401: 'wint_t' is used as a type, but is not
defined as a type.
C:/DEV/Dev-Cpp/include/stdio.h:406: parse error before
)' token C:/DEV/Dev-Cpp/include/stdio.h:407:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/stdio.h:407: 'wint_t' is used as a type, but is not
defined as a type.
In file included from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
C:/DEV/Dev-Cpp/include/c++/cstdio:114:
fread' not declared C:/DEV/Dev-Cpp/include/c++/cstdio:120:
fwrite' not declaredIn file included from C:/DEV/Dev-Cpp/include/windows.h:47,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
C:/DEV/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/DEV/Dev-Cpp/include/string.h:40,
from C:/DEV/Dev-Cpp/include/winnt.h:37,
from C:/DEV/Dev-Cpp/include/windef.h:246,
from C:/DEV/Dev-Cpp/include/windows.h:48,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/winnt.h:37,
from C:/DEV/Dev-Cpp/include/windef.h:246,
from C:/DEV/Dev-Cpp/include/windows.h:48,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/string.h:52: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:53: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:54: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:55: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:56: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:62: parse error before
char'C:/DEV/Dev-Cpp/include/string.h:65: parse error before
char' C:/DEV/Dev-Cpp/include/string.h:66: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:67: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:68: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:71: parse error before
char' C:/DEV/Dev-Cpp/include/string.h:74: parse error before
*' tokenC:/DEV/Dev-Cpp/include/string.h:81: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:82: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:88: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:89: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:93: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:96: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:97: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:110: parse error before
wchar_t'C:/DEV/Dev-Cpp/include/string.h:112: parse error before
wchar_t' C:/DEV/Dev-Cpp/include/string.h:113: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:114: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:115: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:118: parse error before `wchar_t'
C:/DEV/Dev-Cpp/include/string.h:121: parse error before
*' token C:/DEV/Dev-Cpp/include/string.h:135: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:136: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:142: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:143: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:159: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:160: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:169: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:171: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:171: parse error before
)' tokenC:/DEV/Dev-Cpp/include/string.h: In function
int strncasecmp(...)': C:/DEV/Dev-Cpp/include/string.h:172:
sz1' undeclared (first use thisfunction)
C:/DEV/Dev-Cpp/include/string.h:172:
__sz2' undeclared (first use this function) C:/DEV/Dev-Cpp/include/string.h:172:
sizeMaxCompare' undeclared (first usethis function)
C:/DEV/Dev-Cpp/include/string.h: At global scope:
C:/DEV/Dev-Cpp/include/string.h:173: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:178: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/string.h:189: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/string.h:190: type specifier omitted for parameter
size_t'
In file included from C:/DEV/Dev-Cpp/include/windows.h:50,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/winbase.h:1116: type specifier omitted for parameter
va_list' C:/DEV/Dev-Cpp/include/winbase.h:1116: parse error before
' tokenC:/DEV/Dev-Cpp/include/winbase.h:1117: type specifier omitted for parameter
va_list' C:/DEV/Dev-Cpp/include/winbase.h:1117: parse error before
' tokenIn file included from C:/DEV/Dev-Cpp/include/windows.h:55,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/winuser.h:3303: type specifier omitted for parameter
va_list' C:/DEV/Dev-Cpp/include/winuser.h:3303: parse error before
)' tokenC:/DEV/Dev-Cpp/include/winuser.h:3304: type specifier omitted for parameter
va_list' C:/DEV/Dev-Cpp/include/winuser.h:3304: parse error before
)' tokenIn file included from C:/DEV/Dev-Cpp/include/stdlib.h:38,
from C:/DEV/Dev-Cpp/include/objbase.h:12,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/objbase.h:12,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stdlib.h:354: parse error before
*' token C:/DEV/Dev-Cpp/include/stdlib.h:357: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:358: parse error before
*' token C:/DEV/Dev-Cpp/include/stdlib.h:359: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:364:
size_t' was not declared in this scope C:/DEV/Dev-Cpp/include/stdlib.h:364:
size_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/stdlib.h:364: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/stdlib.h:365:
size_t' was not declared in this scope C:/DEV/Dev-Cpp/include/stdlib.h:366: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/stdlib.h:429: type specifier omitted for parameter
size_t' C:/DEV/Dev-Cpp/include/stdlib.h:452: type specifier omitted for parameter
size_t'
In file included from C:/DEV/Dev-Cpp/include/objbase.h:58,
from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
C:/DEV/Dev-Cpp/include/unknwn.h:17: `size_t' was not declared in this scope
In file included from C:/DEV/Dev-Cpp/include/ole2.h:9,
from C:/DEV/Dev-Cpp/include/windows.h:111,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/string.h: In function
BOOL IsEqualGUID(const GUID&, const GUID&)': C:/DEV/Dev-Cpp/include/string.h:53: too many arguments to function
intmemcmp(const void, const void)'
C:/DEV/Dev-Cpp/include/objbase.h:63: at this point in file
C:/DEV/Dev-Cpp/include/string.h: In function
BOOL operator==(const GUID&, const GUID&)': C:/DEV/Dev-Cpp/include/string.h:53: too many arguments to function
intmemcmp(const void, const void)'
C:/DEV/Dev-Cpp/include/objbase.h:65: at this point in file
In file included from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++io.h:43: syntax error before `;'
token
In file included from C:/DEV/Dev-Cpp/include/time.h:37,
from C:/DEV/Dev-Cpp/include/c++/ctime:51,
from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/sys/types.h:38,
from C:/DEV/Dev-Cpp/include/time.h:43,
from C:/DEV/Dev-Cpp/include/c++/ctime:51,
from C:/DEV/Dev-Cpp/include/c++/cwchar:51,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/ctime:51,
C:/DEV/Dev-Cpp/include/time.h:117: parse error before
*' token C:/DEV/Dev-Cpp/include/time.h:119: parse error before
*' tokenC:/DEV/Dev-Cpp/include/time.h:128: parse error before
*' token In file included from C:/DEV/Dev-Cpp/include/c++/cwchar:51, from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45, from C:/DEV/Dev-Cpp/include/c++/iosfwd:46, from C:/DEV/Dev-Cpp/include/c++/ios:44, from C:/DEV/Dev-Cpp/include/c++/ostream:45, from C:/DEV/Dev-Cpp/include/c++/iostream:45, from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1: C:/DEV/Dev-Cpp/include/c++/ctime:78:
strftime' not declaredIn file included from C:/DEV/Dev-Cpp/include/ctype.h:36,
from C:/DEV/Dev-Cpp/include/wchar.h:33,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/wchar.h:33,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/ctype.h:190:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:191:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:192:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:193:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:194:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:194: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h:194: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/ctype.h:195:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:195: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h:195: initializer list being treated as compound
expression
C:/DEV/Dev-Cpp/include/ctype.h:196:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:197:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:198:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:199:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:200:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:201:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:202:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:203:
wint_t' was not declared in this scopeC:/DEV/Dev-Cpp/include/ctype.h:213:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/ctype.h:213: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h: In function
int iswalnum(...)': C:/DEV/Dev-Cpp/include/ctype.h:213:
int iswalnum(...)' redeclared as differentkind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:190: previous declaration of `int iswalnum'
C:/DEV/Dev-Cpp/include/ctype.h:190: previous non-function declaration
int iswalnum' C:/DEV/Dev-Cpp/include/ctype.h:213: conflicts with function declaration
intiswalnum(...)'
C:/DEV/Dev-Cpp/include/ctype.h:213:
wc' undeclared (first use this function) C:/DEV/Dev-Cpp/include/ctype.h:213:
iswctype' cannot be used as a functionC:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:214: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswalpha(...)':C:/DEV/Dev-Cpp/include/ctype.h:214:
int iswalpha(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:191: previous declaration of
int iswalpha'C:/DEV/Dev-Cpp/include/ctype.h:191: previous non-function declaration
int iswalpha' C:/DEV/Dev-Cpp/include/ctype.h:214: conflicts with function declaration
intiswalpha(...)'
C:/DEV/Dev-Cpp/include/ctype.h:214:
iswctype' cannot be used as a function C:/DEV/Dev-Cpp/include/ctype.h: At global scope: C:/DEV/Dev-Cpp/include/ctype.h:215: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h: In function `int iswascii(...)':
C:/DEV/Dev-Cpp/include/ctype.h:215:
int iswascii(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:192: previous declaration of
int iswascii'C:/DEV/Dev-Cpp/include/ctype.h:192: previous non-function declaration
int iswascii' C:/DEV/Dev-Cpp/include/ctype.h:215: conflicts with function declaration
intiswascii(...)'
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:216: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswcntrl(...)':C:/DEV/Dev-Cpp/include/ctype.h:216:
int iswcntrl(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:193: previous declaration of
int iswcntrl'C:/DEV/Dev-Cpp/include/ctype.h:193: previous non-function declaration `int
iswcntrl'
C:/DEV/Dev-Cpp/include/ctype.h:216: conflicts with function declaration
int iswcntrl(...)' C:/DEV/Dev-Cpp/include/ctype.h:216:
iswctype' cannot be used as a functionC:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:217: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswdigit(...)':C:/DEV/Dev-Cpp/include/ctype.h:217:
int iswdigit(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:196: previous declaration of
int iswdigit'C:/DEV/Dev-Cpp/include/ctype.h:196: previous non-function declaration
int iswdigit' C:/DEV/Dev-Cpp/include/ctype.h:217: conflicts with function declaration
intiswdigit(...)'
C:/DEV/Dev-Cpp/include/ctype.h:217: `iswctype' cannot be used as a function
C:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:218: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswgraph(...)':C:/DEV/Dev-Cpp/include/ctype.h:218:
int iswgraph(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:197: previous declaration of
int iswgraph'C:/DEV/Dev-Cpp/include/ctype.h:197: previous non-function declaration
int iswgraph' C:/DEV/Dev-Cpp/include/ctype.h:218: conflicts with function declaration
intiswgraph(...)'
C:/DEV/Dev-Cpp/include/ctype.h:218:
iswctype' cannot be used as a function C:/DEV/Dev-Cpp/include/ctype.h: At global scope: C:/DEV/Dev-Cpp/include/ctype.h:219: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h: In function
int iswlower(...)': C:/DEV/Dev-Cpp/include/ctype.h:219:
int iswlower(...)' redeclared as differentkind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:198: previous declaration of
int iswlower' C:/DEV/Dev-Cpp/include/ctype.h:198: previous non-function declaration
intiswlower'
C:/DEV/Dev-Cpp/include/ctype.h:219: conflicts with function declaration
int iswlower(...)' C:/DEV/Dev-Cpp/include/ctype.h:219:
iswctype' cannot be used as a functionC:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:220: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswprint(...)':C:/DEV/Dev-Cpp/include/ctype.h:220:
int iswprint(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:199: previous declaration of
int iswprint'C:/DEV/Dev-Cpp/include/ctype.h:199: previous non-function declaration
int iswprint' C:/DEV/Dev-Cpp/include/ctype.h:220: conflicts with function declaration
intiswprint(...)'
C:/DEV/Dev-Cpp/include/ctype.h:220:
iswctype' cannot be used as a function C:/DEV/Dev-Cpp/include/ctype.h: At global scope: C:/DEV/Dev-Cpp/include/ctype.h:221: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h: In function
int iswpunct(...)': C:/DEV/Dev-Cpp/include/ctype.h:221:
int iswpunct(...)' redeclared as differentkind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:200: previous declaration of
int iswpunct' C:/DEV/Dev-Cpp/include/ctype.h:200: previous non-function declaration
intiswpunct'
C:/DEV/Dev-Cpp/include/ctype.h:221: conflicts with function declaration
int iswpunct(...)' C:/DEV/Dev-Cpp/include/ctype.h:221:
iswctype' cannot be used as a functionC:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:222: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswspace(...)':C:/DEV/Dev-Cpp/include/ctype.h:222:
int iswspace(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:201: previous declaration of
int iswspace'C:/DEV/Dev-Cpp/include/ctype.h:201: previous non-function declaration
int iswspace' C:/DEV/Dev-Cpp/include/ctype.h:222: conflicts with function declaration
intiswspace(...)'
C:/DEV/Dev-Cpp/include/ctype.h:222:
iswctype' cannot be used as a function C:/DEV/Dev-Cpp/include/ctype.h: At global scope: C:/DEV/Dev-Cpp/include/ctype.h:223: parse error before
)' tokenC:/DEV/Dev-Cpp/include/ctype.h: In function
int iswupper(...)': C:/DEV/Dev-Cpp/include/ctype.h:223:
int iswupper(...)' redeclared as differentkind of symbol
C:/DEV/Dev-Cpp/include/ctype.h:202: previous declaration of
int iswupper' C:/DEV/Dev-Cpp/include/ctype.h:202: previous non-function declaration
intiswupper'
C:/DEV/Dev-Cpp/include/ctype.h:223: conflicts with function declaration
int iswupper(...)' C:/DEV/Dev-Cpp/include/ctype.h:223:
iswctype' cannot be used as a functionC:/DEV/Dev-Cpp/include/ctype.h: At global scope:
C:/DEV/Dev-Cpp/include/ctype.h:224: parse error before
)' token C:/DEV/Dev-Cpp/include/ctype.h: In function
int iswxdigit(...)':C:/DEV/Dev-Cpp/include/ctype.h:224:
int iswxdigit(...)' redeclared as different kind of symbol C:/DEV/Dev-Cpp/include/ctype.h:203: previous declaration of
int iswxdigit'C:/DEV/Dev-Cpp/include/ctype.h:203: previous non-function declaration
int iswxdigit' C:/DEV/Dev-Cpp/include/ctype.h:224: conflicts with function declaration
intiswxdigit(...)'
C:/DEV/Dev-Cpp/include/ctype.h:224: `iswctype' cannot be used as a function
In file included from C:/DEV/Dev-Cpp/include/wchar.h:44,
from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/cwchar:54,
from C:/DEV/Dev-Cpp/include/c++/bits/fpos.h:45,
from C:/DEV/Dev-Cpp/include/c++/iosfwd:46,
from C:/DEV/Dev-Cpp/include/c++/ios:44,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
C:/DEV/Dev-Cpp/include/wchar.h: At global scope:
C:/DEV/Dev-Cpp/include/wchar.h:286: parse error before
)' token C:/DEV/Dev-Cpp/include/wchar.h:287: parse error before
char'C:/DEV/Dev-Cpp/include/wchar.h:288: parse error before
*' token C:/DEV/Dev-Cpp/include/wchar.h:289: parse error before
' tokenC:/DEV/Dev-Cpp/include/wchar.h:291: parse error before
*' token C:/DEV/Dev-Cpp/include/wchar.h:292: parse error before
' tokenC:/DEV/Dev-Cpp/include/wchar.h:293:
wint_t' was not declared in this scope C:/DEV/Dev-Cpp/include/wchar.h:298: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:298: parse error before
)' token C:/DEV/Dev-Cpp/include/wchar.h:299: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:299: parse error before
)' token C:/DEV/Dev-Cpp/include/wchar.h:300: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:300: parse error before
)' token C:/DEV/Dev-Cpp/include/wchar.h:302: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:302: parse error before
)' token C:/DEV/Dev-Cpp/include/wchar.h:303: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/wchar.h:303: parse error before
)' token In file included from C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:45, from C:/DEV/Dev-Cpp/include/c++/ios:46, from C:/DEV/Dev-Cpp/include/c++/ostream:45, from C:/DEV/Dev-Cpp/include/c++/iostream:45, from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1: C:/DEV/Dev-Cpp/include/c++/cstring:89:
strxfrm' not declaredC:/DEV/Dev-Cpp/include/c++/cstring:90:
strcspn' not declared C:/DEV/Dev-Cpp/include/c++/cstring:91:
strspn' not declaredC:/DEV/Dev-Cpp/include/c++/cstring:95:
strlen' not declared C:/DEV/Dev-Cpp/include/c++/cstring:100: type specifier omitted for parameter
size_t'
C:/DEV/Dev-Cpp/include/c++/cstring:100: parse error before
)' token C:/DEV/Dev-Cpp/include/c++/cstring: In function
void* std::memchr(...)':C:/DEV/Dev-Cpp/include/c++/cstring:101:
__p' undeclared (first use this function) C:/DEV/Dev-Cpp/include/c++/cstring:101:
__c' undeclared (first use thisfunction)
C:/DEV/Dev-Cpp/include/c++/cstring:101:
__n' undeclared (first use this function) In file included from C:/DEV/Dev-Cpp/include/c++/ios:46, from C:/DEV/Dev-Cpp/include/c++/ostream:45, from C:/DEV/Dev-Cpp/include/c++/iostream:45, from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1: C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope: C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:73: type specifier omitted for parameter
size_t'C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:73: parse error before
)' token C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:76: parse error before
(' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:79: type specifier omitted for
parameter
size_t' C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:79: parse error before
,' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:82: type specifier omitted for
parameter
size_t' C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:82: parse error before
)' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:85: type specifier omitted for
parameter
size_t' C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:85: parse error before
)' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:88: type specifier omitted for
parameter
size_t' C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:88: parse error before
,' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:130: type specifier omitted for
parameter
size_t' C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:130: parse error before
)' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:134: parse error before `(' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In static member function
static int std::char_traits<char>::compare(...)': C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:131:
__s1' undeclared (first usethis function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:131:
__s2' undeclared (first use this function) C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope: C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:137: ISO C++ forbids defining types within return type C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:137: syntax error before
'token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:138: parse error before `' token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In function
int* std::find(...)': C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:139: parse error before
' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:141: syntax error before
*' token C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:145: syntax error before
'token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:149: syntax error before
*' token C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:154: syntax error before
('token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:160: syntax error before
(' token C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:164: parse error before
&' tokenC:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: In function
bool eq_int_type(...)': C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:165:
__c1' undeclared (first usethis function)
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:165:
__c2' undeclared (first use this function) C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h: At global scope: C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:168: syntax error before
('token
C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:171: syntax error before
(' token C:/DEV/Dev-Cpp/include/c++/bits/char_traits.h:250: parse error before
}' tokenIn file included from C:/DEV/Dev-Cpp/include/locale.h:56,
from C:/DEV/Dev-Cpp/include/c++/clocale:49,
from C:/DEV/Dev-Cpp/include/c++/mingw32/bits/c++locale.h:36,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:46,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:67,
from C:/DEV/Dev-Cpp/include/c++/memory:54,
from C:/DEV/Dev-Cpp/include/c++/string:48,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
C:/DEV/Dev-Cpp/include/c++/cstdlib:105: `mbstowcs' not declared
C:/DEV/Dev-Cpp/include/c++/cstdlib:115:
wcstombs' not declared In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:69, from C:/DEV/Dev-Cpp/include/c++/memory:54, from C:/DEV/Dev-Cpp/include/c++/string:48, from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49, from C:/DEV/Dev-Cpp/include/c++/ios:48, from C:/DEV/Dev-Cpp/include/c++/ostream:45, from C:/DEV/Dev-Cpp/include/c++/iostream:45, from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1: C:/DEV/Dev-Cpp/include/c++/new:79:
size_t' undeclared in namespace `std'C:/DEV/Dev-Cpp/include/c++/new:79: declaration of
operator new' as non-function C:/DEV/Dev-Cpp/include/c++/new:79: invalid declarator C:/DEV/Dev-Cpp/include/c++/new:80:
size_t' undeclared in namespacestd' C:/DEV/Dev-Cpp/include/c++/new:80: declaration of
operator new []' asnon-function
C:/DEV/Dev-Cpp/include/c++/new:80: invalid declarator
C:/DEV/Dev-Cpp/include/c++/new:83:
size_t' undeclared in namespace
std'C:/DEV/Dev-Cpp/include/c++/new:83: parse error before
::' token C:/DEV/Dev-Cpp/include/c++/new:83:
operator new' takes typesize_t' (
unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new:84:
size_t' undeclared in namespace
std'C:/DEV/Dev-Cpp/include/c++/new:84: parse error before
::' token C:/DEV/Dev-Cpp/include/c++/new:84:
operator new' takes typesize_t' (
unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new:89:
size_t' undeclared in namespace
std'C:/DEV/Dev-Cpp/include/c++/new:89: parse error before `*' token
C:/DEV/Dev-Cpp/include/c++/new:89:
operator new' takes type
size_t' (`unsigned int') as first parameter
C:/DEV/Dev-Cpp/include/c++/new: In function `void* operator new(unsigned int,
...)':
C:/DEV/Dev-Cpp/include/c++/new:89:
__p' undeclared (first use this function) C:/DEV/Dev-Cpp/include/c++/new: At global scope: C:/DEV/Dev-Cpp/include/c++/new:90:
size_t' undeclared in namespacestd' C:/DEV/Dev-Cpp/include/c++/new:90: parse error before
*' tokenC:/DEV/Dev-Cpp/include/c++/new:90:
operator new' takes type
size_t' (`unsigned int') as first parameter
In file included from C:/DEV/Dev-Cpp/include/c++/bits/stl_algobase.h:73,
from C:/DEV/Dev-Cpp/include/c++/memory:54,
from C:/DEV/Dev-Cpp/include/c++/string:48,
from C:/DEV/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/DEV/Dev-Cpp/include/c++/ios:48,
from C:/DEV/Dev-Cpp/include/c++/ostream:45,
from C:/DEV/Dev-Cpp/include/c++/iostream:45,
from C:/DEV/Dev-Cpp/Examples/Hello/Hello.cpp:1:
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:100: parse error
before `,' token
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: template
declaration of `typedef _Tp std::value_type'
C:/DEV/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: confused by earlier errors, bailing out
Execution terminated
The version of Dev included on that CD is very old and very buggy - 4.9.7.0
You need to do a clean uninstall - there are directions for doing this in the thread titled "Please Read Before Posting a Question" - it is very important that you take the time to look at them, as simply running the uninstaller leaves traces that will cause later issues.
Them, download the newest version of Dev from the website, and install it.
Wayne
Hmm the funny thing is, I installed it on a friends computer who also has XP and it works.....
Yes, 4.9.7.0 can be made to work - sometimes by accident, but it is not worth the trouble.
Make sure you take the time to read and understand the unintall directions.
Wayne
Im actually on a ship in the middle of the ocean and we are not allowed to download. Even if we were the connection is terribly slow. So if possible, anything that will be able to get this to work is worth my time (which I have alot of). Thanks.
Sorry, that release of the code is several years old and not really supported.
There may still be some posts here in the forum about it.
Wayne
Ok, perhaps its worth persevering:
The best approach is to take the errors one at a time from top to bottom. Most often large numbers of them have thw same root cause, so fixing one may fix them all. "Read 'em don't count 'em" I say.
So the first error is:
C:/DEV/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
It may be hard to spot, all the preceding text is just the preamble to this to show by what series of nested includes it got to here.
Now first I might have suggested installing to the default path (C:/Dev-Cpp) rather than C:/DEV/Dev-Cpp, but let's go with that for now. Use Window's file search to seek out the file stddef.h and then report back its location.
Also find line 48 of the file C:/DEV/Dev-Cpp/include/c++/cstddef, and report that here too.
Those two pieces of information may provide the necessary information for us (or perhaps just me!) to guide you to a solution or partial solution. Then when you try that, post the log again and we shall proceed thus, until we get there.
Be aware that you probably have more time that I it seems, and are no doubt in a different (and possibly varying) time zone, so there may be some latency in response.
Clifford
Ok I searched for those files.
The File stddef.h was in the location C:\Dev-cpp\include\
The file cstddef was in the location
C:\Dev-cpp\include\c++\
I dont know where they are supposed to be but that looked like the right locations for both. Now Im not sure what type of file cstddef is supposed to be but when i clicked on properties it said it was just a file. not a .h or .cpp or anything for that matter. Thanks for the help.
cstddef is merely a header file. I C++ standard headers do not have extensions. You can simply drag and drop it into a text editor (like Dev-C++ for example), or open it via the File menu in a text editor or Dev-C++ itself.
You say the files are in C:\Dev-cpp\include\c++\ and C:\Dev-cpp\include\, but from your log, your installation appears to be in C:\DEV\Dev-cpp\, and the paths specified to the compiler are C:\DEV\Dev-cpp\include\c++\ and C:\DEV\Dev-cpp\include\ . However your log clearly shows cstddef residing in C:/DEV/Dev-Cpp/include/c++/, so are you sure that you have these paths right, or have you moved the installation since your last log? You could probably fix this by changing the compiler and project settings or by moving files around, but in this case, it would be better to simply uninstall and reinstall.
If you do reinstall, it is most important that you follow the directions in the "PLEASE READ BEFORE POSTING A QUESTION" thread for doing so to the letter, and additionally delete both the c:\DEV\Dev-cpp and C:\Dev-Cpp trees.
Another issue I have spotted is that you are building the code in C:\DEV\Dev-Cpp\Examples\Hello\Hello.cpp", don't do that. There is a strange bug in Dev-C++ that can cause projects in subfolders of the installation folder to fail to build (in fact that may be your only problem, so you might try that first), copy the C:\DEV\Dev-Cpp\Examples\ folder to somewhere else. Besides if you are going to be playing with teh example code, you will want to keep and untouched copy of the originals in any case.
Clifford
Ok, thats why it is different. I had done the clean uninstall since my last post. So it is all in the original location it installs to. Ive done the clean uninstall per instructions on the "PLEASE READ" post. Many times actually and still no luck. I have installed it on a friends computer who also has vista and it works fine. Everytime I install it. Which leads me to believe it may be something with my computer. I dont know how. I will try to move the codes elsewhere and then try. But as of now....still nothing even after the clean uninstill.
Please note that the instructions for doing a clean install, say, in pretty strident terms to be sure, that - if you are still having problems after a clean uninstall, you needed to report to us EXACTLY, step by step, what you did. Note that indicating you did things "per instrcutions" does not remotely satisfy that requirement. ;)
Wayne
Going back a few steps, I would still like to see line 48 of the file C:/Dev-Cpp/include/c++/cstddef. I am trying to determine how it is trying to include stddef.h and whether that is consistent with the -I<path> options passed to the compiler.
Also every time you change something, re-post the log - even if you think it has not changes. It provides some subtle and useful information. Fore example previously it would have told me that you have now installed the tools to a new location. Now it might tell us whether those changes were reflected in the build options and that you have not just introduced new problems!
Note that if the log remains as long as teh last one, it is necessary to post it all, the first five or so errors is sufficient. But remember all those lines like;
In file included from ...
from ...
from ...
are not the errors, they are preamble to indicate the sequence of nested files #include'd to the point of error. We need that, but don't include it in the error count, otherwise you'd omit teh actual error!
The quickest way to resolve this issue would be to allow use to remotely debug your problem by essentially responding robotically and reporting back the results of each instruction. That is not so hard as it sound, mostly posting the log provides the information we need.
Clifford
Sorry that should have said : "... it is not necessary to post it all,..."
Ok so here is the file.....I looked up line #48 and it is: #include <stddef.h>
here it is.
// -- C++ -- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
//
// ISO C++ 14882: 18.1 Types
//
/ @file cstddef
* This is a Standard C++ Library file. You should @c #include this file
* in your programs, rather than any of the ".h" implementation files.
* This is the C++ version of the Standard C Library header @c stddef.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
*/
ifndef _CPP_CSTDDEF
define _CPP_CSTDDEF 1
pragma GCC system_header
include <stddef.h>
namespace std
{
using ::ptrdiff_t;
using ::size_t;
}
endif
Ok here is the compile log also, not all but most.
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Examples\Hello\Hello.cpp" -o "C:\Examples\Hello\Hello.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
In file included from C:/Dev-Cpp/include/c++/cstddef:48,
from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/c++/cstdio:50,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/c++/cstddef:52:
ptrdiff_t' not declared C:/Dev-Cpp/include/c++/cstddef:53:
size_t' not declaredIn file included from C:/Dev-Cpp/include/stdio.h:42,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/stdio.h:44,
from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/c++/cstdio:52,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdio.h:204: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdio.h:215: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdio.h:216: type specifier omitted for parameter
__gnuc_va_list' C:/Dev-Cpp/include/stdio.h:217: type specifier omitted for parameter
gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:218: type specifier omitted for parameter `
gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdio.h:219: type specifier omitted for parameter
gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:222: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdio.h:222: parse error before
,' tokenC:/Dev-Cpp/include/stdio.h:223: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdio.h:223: parse error before
,' tokenC:/Dev-Cpp/include/stdio.h: In function
int vsnprintf(...)': C:/Dev-Cpp/include/stdio.h:225:
s' undeclared (first use this function)C:/Dev-Cpp/include/stdio.h:225: (Each undeclared identifier is reported only
once for each function it appears in.)
C:/Dev-Cpp/include/stdio.h:225:
n' undeclared (first use this function) C:/Dev-Cpp/include/stdio.h:225:
format' undeclared (first use this function)C:/Dev-Cpp/include/stdio.h:225:
arg' undeclared (first use this function) C:/Dev-Cpp/include/stdio.h: At global scope: C:/Dev-Cpp/include/stdio.h:255: parse error before
*' tokenC:/Dev-Cpp/include/stdio.h:256: parse error before
void' C:/Dev-Cpp/include/stdio.h:348: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdio.h:349: type specifier omitted for parameter
__gnuc_va_list' C:/Dev-Cpp/include/stdio.h:350: type specifier omitted for parameter
gnuc_va_list'
C:/Dev-Cpp/include/stdio.h:351: type specifier omitted for parameter
__gnuc_va_list' C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdio.h:352: type specifier omitted for parameter
__gnuc_va_list' C:/Dev-Cpp/include/stdio.h:356: parse error before
*' tokenC:/Dev-Cpp/include/stdio.h:357: parse error before
,' token C:/Dev-Cpp/include/stdio.h:358: parse error before
,' tokenC:/Dev-Cpp/include/stdio.h:362: parse error before
*' token C:/Dev-Cpp/include/stdio.h:363: parse error before
)' tokenC:/Dev-Cpp/include/stdio.h:365:
wint_t' was not declared in this scope C:/Dev-Cpp/include/stdio.h:365: parse error before
*' tokenC:/Dev-Cpp/include/stdio.h:367:
wint_t' was not declared in this scope C:/Dev-Cpp/include/stdio.h:367: 'wint_t' is used as a type, but is not defined as a type. C:/Dev-Cpp/include/stdio.h:381: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdio.h:381: parse error before
,' token C:/Dev-Cpp/include/stdio.h:383: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdio.h:383: parse error before
,' token C:/Dev-Cpp/include/stdio.h:400: parse error before
)' tokenC:/Dev-Cpp/include/stdio.h:401:
wint_t' was not declared in this scope C:/Dev-Cpp/include/stdio.h:401: 'wint_t' is used as a type, but is not defined as a type. C:/Dev-Cpp/include/stdio.h:406: parse error before
)' tokenC:/Dev-Cpp/include/stdio.h:407: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/stdio.h:407: 'wint_t' is used as a type, but is not defined
as a type.
In file included from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/c++/cstdio:114:
fread' not declared C:/Dev-Cpp/include/c++/cstdio:120:
fwrite' not declaredIn file included from C:/Dev-Cpp/include/windows.h:47,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to find stdarg.h
In file included from C:/Dev-Cpp/include/string.h:40,
from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
In file included from C:/Dev-Cpp/include/winnt.h:37,
from C:/Dev-Cpp/include/windef.h:246,
from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Dev-Cpp/include/c++/iosfwd:46,
from C:/Dev-Cpp/include/c++/ios:44,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from C:/Examples/Hello/Hello.cpp:1:
C:/Dev-Cpp/include/string.h:52: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:53: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:54: type specifier omitted for parameter `size_t'
C:/Dev-Cpp/include/string.h:55: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:56: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:62: parse error before
char' C:/Dev-Cpp/include/string.h:65: parse error before
char'C:/Dev-Cpp/include/string.h:66: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:67: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:68: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:71: parse error before
char'C:/Dev-Cpp/include/string.h:74: parse error before
*' token C:/Dev-Cpp/include/string.h:81: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:82: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:88: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:89: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:93: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:96: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:97: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:110: parse error before
wchar_t' C:/Dev-Cpp/include/string.h:112: parse error before
wchar_t'C:/Dev-Cpp/include/string.h:113: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:114: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:115: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:118: parse error before
wchar_t'C:/Dev-Cpp/include/string.h:121: parse error before
*' token C:/Dev-Cpp/include/string.h:135: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:136: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:142: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:143: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:159: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:160: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:169: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:171: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:171: parse error before
)' tokenC:/Dev-Cpp/include/string.h: In function `int strncasecmp(...)':
C:/Dev-Cpp/include/string.h:172:
__sz1' undeclared (first use this function) C:/Dev-Cpp/include/string.h:172:
sz2' undeclared (first use this function)C:/Dev-Cpp/include/string.h:172: `sizeMaxCompare' undeclared (first use this
function)
Thanks again!
Ok, I am clutching at straws somewhat, but I guess until you dock and can get to an Intenet Cafe we need to keep trying. I am going to number the following points for reference, and so we can keep track of the discussion, while starting multiple threads of enquiry asynchronously:
(1) I notice that you appear to be loading "C:\Examples\Hello\Hello.cpp" and compiling without using the project facility. Is "C:\Examples\Hello\" and example provided with Dev-C++ or one you created yourself?
(2) If in (1), hello.cpp was provided with Dev-C++, does that folder contain a project file (with a .dev file extension)? If so open that, and perform "Rebuild All". Note you can open a project from the File menu or double click it in Windows Explorer since it will be associated with Dev-C++.
(3) Have you tried any of the default project templates? File->New->Project, select "Introductory\Hello World" (or something like that, it may be different in your version). Save the project in a new empty folder and build that.
I always recommend that you use the project facility rather than just opening a source file and compiling, you get much more control and repeatability (the settings are stored with the project rather than using the prevailing compiler options). I have no idea if this will actually help, but as I said, I am clutching at straws here! The project facility is also the way in which Dev-C++ supports projects builds with multiple sources.
(4) Another point, you are running on Vista, but do not seem to be suffering from teh usual problems caused by using 4.9.9.2 on Vista. Perhaps the problem does not affect your version, or possibly it merely results in different failure symptoms. It can do no harm to apply the 'fix' for Vista problems as described in the "PLEASE READ BEFORE POSTING A QUESTION" thread.
(5) Do you possibly have any (or ever had any) other GNU based software development tools installed on the PC in question? Such as Cygwin for example.
Clifford
Oh! I am a blind fool. I asked for the wrong information earlier. What I need to see is line 6 of C:/Dev-Cpp/include/stddef.h.
The message:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to find stddef.h
shows that this file is attempting to include a header file "stddef.h". A file cannot include itself, so this line must specify a path that does not exist, or it is included with the #include_next directive and the list of include paths is in the wrong order, or incomplete. Or a combination of the above!
(a) Is there more than one file called stddef.h? Report the location of all of them.
(b) Post the log of a sucessful build (Rebuild All) from the machine that you say Dev-C++ is working on. For comparison.
I am thinking that the position of the -I"C:\Dev-Cpp\include" option in the command line may be significant in this.
Clifford
Ok. First, I moved that examples folder out of the Dev-Cpp folder because you said that its not good to run programs out of the main folder. But yes, Hello.cpp is part of the Dev-C++. I tried the project thing and opened up the intro project for hello...still same error.
I have not had any other development tools installed on my computer. This is the first. BUT there is something called "Microsoft Visual C++ 2005 Redistributable." In my programs when I go to uninstall anything. But its NOT a program. I dont know what it is.
Here is the file stddf.h
Line#6 being:
include_next <stddef.h>
/
* This is just an RC_INVOKED guard for the real stddef.h
* fixincluded in gcc system dir. One day we will delete this file.
/
ifndef RC_INVOKED
include_next <stddef.h>
endif
I did not find another stddef.h file anywhere. Theres only one.
I could not get a successfull compile log from another system because the guy I got that from is in bed already. I will get that tomorrow.
OK, I think we are getting somewhere, but we do need the additional information from the other machine.
The RC_INVOKED line merely determines that the following line not processed if the include is in a resource script rather than C/C++ code.
For information "Microsoft Visual C++ 2005 Redistributable" is a package of run-time libraries to support programs developed using MSVC++ 2005. It may have been installed as a result of some other application installation. Dev-C++ (or rather MinGW) also requires a runtime library, but it uses an MSVC++ 6.0 library that now gets installed as part of the Windows OS.
OK here is the successful compile log from the working computer.
g++.exe "C:\Dev-Cpp\Examples\Hello\Hello.cpp" -o "C:\Dev-Cpp\Examples\Hello\Hello.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
Execution terminated
Compilation successful
If you need anything else let me know.
Hmmm.... Identical build settings. However you did not provide the results of the "stddef.h" search on this other machine. There should be a second stddef.h, or the stddef.h on this machine differs from yours and does not need the second file.
If you find one, what is its path? Does that path exist on your machine? Copy all the files from that folder to the corresponding folder on your machine.
Clifford
At times, I have "avoided" problems, like the 4.9.7.0 issue, because I tend to always have a seperate, stand-alone version of MinGW/MSYS.
Probably no connection, but I felt I should mention it...
Wayne
I found two stddef.h files on the working machine and mine. they were all in the same place:
The long one which is different from the RC_INVOKED one was at:
C:\dev-cpp\lib\gcc-lib\mingw32\3.2\include\
and the other was at
C:\dev-cpp\include
here is the other, longer, stddef.h file
/* Copyright (C) 1989, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/ As a special exception, if you include this header file into source
files compiled by GCC, this header file does not by itself cause
the resulting executable to be covered by the GNU General Public
License. This exception does not however invalidate any other
reasons why the executable file might be covered by the GNU General
Public License. /
/
* ISO C Standard: 7.17 Common definitions <stddef.h>
/
if (!defined(STDDEF_H) && !defined(_STDDEF_H) && !defined(_ANSI_STDDEF_H) \
ifndef RC_INVOKED
/ Any one of these symbols __need_ means that GNU libc
wants us just to define one data type. So don't define
the symbols that indicate this file's entire job has been done. */
if (!defined(need_wchar_t) && !defined(need_size_t) \
define _STDDEF_H
define STDDEF_H
/ snaroff@next.com says the NeXT needs this. /
define _ANSI_STDDEF_H
/ Irix 5.1 needs this. /
define STDDEF_H
endif
ifndef __sys_stdtypes_h
/ This avoids lossage on SunOS but only if stdtypes.h comes first.
There's no way to win with the other order! Sun lossage. /
/ On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. /
if defined (BSD_NET2) || defined (_386BSD_) || defined (FreeBSD) || defined(NetBSD)
include <machine/ansi.h>
endif
/ In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
defined if the corresponding type is not defined.
FreeBSD-2.1 defines MACHINE_ANSI_H instead of ANSI_H /
if defined(ANSI_H) || defined(MACHINE_ANSI_H)
if !defined(SIZE_T) && !defined(BSD_SIZE_T)
define _SIZE_T
endif
if !defined(PTRDIFF_T) && !defined(BSD_PTRDIFF_T)
define _PTRDIFF_T
endif
/ On BSD/386 1.1, at least, machine/ansi.h defines BSD_WCHAR_T
instead of WCHAR_T. /
if !defined(WCHAR_T) && !defined(BSD_WCHAR_T)
ifndef BSD_WCHAR_T
define _WCHAR_T
endif
endif
/ Undef FOO_T if we are supposed to define foo_t. /
if defined (__need_ptrdiff_t) || defined (STDDEF_H)
undef PTRDIFF_T
undef BSD_PTRDIFF_T
endif
if defined (__need_size_t) || defined (STDDEF_H)
undef SIZE_T
undef BSD_SIZE_T
endif
if defined (__need_wchar_t) || defined (STDDEF_H)
undef WCHAR_T
undef BSD_WCHAR_T
endif
endif / defined(ANSI_H) || defined(MACHINE_ANSI_H) /
/ Sequent's header files use PTRDIFF_T in some conflicting way.
Just ignore it. /
if defined (sequent) && defined (PTRDIFF_T)
undef PTRDIFF_T
endif
/ On VxWorks, <type/vxTypesBase.h> may have defined macros like
_TYPE_size_t which will typedef size_t. fixincludes patched the
vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
not defined, and so that defining this macro defines _GCC_SIZE_T.
If we find that the macros are still defined at this point, we must
invoke them so that the type is defined as expected. /
if defined (TYPE_ptrdiff_t) && (defined (__need_ptrdiff_t) || defined (_STDDEF_H))
_TYPE_ptrdiff_t;
undef _TYPE_ptrdiff_t
endif
if defined (TYPE_size_t) && (defined (__need_size_t) || defined (_STDDEF_H))
_TYPE_size_t;
undef _TYPE_size_t
endif
if defined (TYPE_wchar_t) && (defined (__need_wchar_t) || defined (_STDDEF_H))
_TYPE_wchar_t;
undef _TYPE_wchar_t
endif
/ In case nobody has defined these types, but we aren't running under
GCC 2.00, make sure that PTRDIFF_TYPE, SIZE_TYPE, and
WCHAR_TYPE have reasonable values. This can happen if the
parts of GCC is compiled by an older compiler, that actually
include gstddef.h, such as collect2. /
/ Signed type of difference of two pointers. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_ptrdiff_t)
ifndef _PTRDIFF_T / in case <sys/types.h> has defined it. /
ifndef T_PTRDIFF
ifndef _T_PTRDIFF
ifndef __PTRDIFF_T
ifndef PTRDIFF_T
ifndef BSD_PTRDIFF_T
ifndef ___int_ptrdiff_t_h
ifndef _GCC_PTRDIFF_T
define _PTRDIFF_T
define T_PTRDIFF
define _T_PTRDIFF
define __PTRDIFF_T
define PTRDIFF_T
define BSD_PTRDIFF_T
define ___int_ptrdiff_t_h
define _GCC_PTRDIFF_T
ifndef PTRDIFF_TYPE
define PTRDIFF_TYPE long int
endif
typedef PTRDIFF_TYPE ptrdiff_t;
endif / _GCC_PTRDIFF_T /
endif / ___int_ptrdiff_t_h /
endif / BSD_PTRDIFF_T /
endif / PTRDIFF_T /
endif / __PTRDIFF_T /
endif / _T_PTRDIFF /
endif / T_PTRDIFF /
endif / _PTRDIFF_T /
/ If this symbol has done its job, get rid of it. /
undef __need_ptrdiff_t
endif / _STDDEF_H or __need_ptrdiff_t. /
/ Unsigned type of `sizeof' something. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_size_t)
ifndef size_t / BeOS /
ifndef SIZE_T / Cray Unicos/Mk /
ifndef _SIZE_T / in case <sys/types.h> has defined it. /
ifndef _SYS_SIZE_T_H
ifndef T_SIZE
ifndef _T_SIZE
ifndef __SIZE_T
ifndef SIZE_T
ifndef BSD_SIZE_T
ifndef SIZE_T_DEFINED
ifndef _SIZE_T_DEFINED
ifndef ___int_size_t_h
ifndef _GCC_SIZE_T
ifndef SIZET
ifndef __size_t
define size_t / BeOS /
define SIZE_T / Cray Unicos/Mk /
define _SIZE_T
define _SYS_SIZE_T_H
define T_SIZE
define _T_SIZE
define __SIZE_T
define SIZE_T
define BSD_SIZE_T
define SIZE_T_DEFINED
define _SIZE_T_DEFINED
define ___int_size_t_h
define _GCC_SIZE_T
define SIZET
define __size_t
ifndef SIZE_TYPE
define SIZE_TYPE long unsigned int
endif
if !(defined (GNUG) && defined (size_t))
typedef SIZE_TYPE size_t;
ifdef BEOS
typedef long ssize_t;
endif / BEOS /
endif / !(defined (GNUG) && defined (size_t)) /
endif / __size_t /
endif / SIZET /
endif / _GCC_SIZE_T /
endif / ___int_size_t_h /
endif / _SIZE_T_DEFINED /
endif / SIZE_T_DEFINED /
endif / BSD_SIZE_T /
endif / SIZE_T /
endif / __SIZE_T /
endif / _T_SIZE /
endif / T_SIZE /
endif / _SYS_SIZE_T_H /
endif / _SIZE_T /
endif / SIZE_T /
endif / size_t /
undef __need_size_t
endif / _STDDEF_H or __need_size_t. /
/ Wide character type.
Locale-writers should change this as necessary to
be big enough to hold unique values not between 0 and 127,
and not (wchar_t) -1, for each defined multibyte character. /
/ Define this type if we are doing the whole job,
or if we want this type in particular. /
if defined (_STDDEF_H) || defined (__need_wchar_t)
ifndef wchar_t / BeOS /
ifndef WCHAR_T / Cray Unicos/Mk /
ifndef _WCHAR_T
ifndef T_WCHAR
ifndef _T_WCHAR
ifndef __WCHAR_T
ifndef WCHAR_T
ifndef BSD_WCHAR_T
ifndef BSD_WCHAR_T_DEFINED / Darwin /
ifndef WCHAR_T_DEFINED
ifndef _WCHAR_T_DEFINED
ifndef _WCHAR_T_H
ifndef ___int_wchar_t_h
ifndef __INT_WCHAR_T_H
ifndef _GCC_WCHAR_T
define wchar_t / BeOS /
define WCHAR_T / Cray Unicos/Mk /
define _WCHAR_T
define T_WCHAR
define _T_WCHAR
define __WCHAR_T
define WCHAR_T
define BSD_WCHAR_T
define WCHAR_T_DEFINED
define _WCHAR_T_DEFINED
define _WCHAR_T_H
define ___int_wchar_t_h
define __INT_WCHAR_T_H
define _GCC_WCHAR_T
/ On BSD/386 1.1, at least, machine/ansi.h defines BSD_WCHAR_T
instead of WCHAR_T, and BSD_RUNE_T (which, unlike the other
symbols in the FOO_T family, stays defined even after its
corresponding type is defined). If we define wchar_t, then we
must undef WCHAR_T; for BSD/386 1.1 (and perhaps others), if
we undef WCHAR_T, then we must also define rune_t, since
headers like runetype.h assume that if machine/ansi.h is included,
and BSD_WCHAR_T is not defined, then rune_t is available.
machine/ansi.h says, "Note that WCHAR_T and RUNE_T must be of
the same type." /
ifdef BSD_WCHAR_T
undef BSD_WCHAR_T
ifdef BSD_RUNE_T
if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE)
typedef BSD_RUNE_T rune_t;
define BSD_WCHAR_T_DEFINED
if defined (FreeBSD)
/ Why is this file so hard to maintain properly? In constrast to
the comment above regarding BSD/386 1.1, on FreeBSD for as long
as the symbol has existed, BSD_RUNE_T must not stay defined or
redundant typedefs will occur when stdlib.h is included after this file. /
undef BSD_RUNE_T
endif
endif
endif
endif
ifndef WCHAR_TYPE
define WCHAR_TYPE int
endif
ifndef __cplusplus
typedef WCHAR_TYPE wchar_t;
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif / WCHAR_T /
endif / wchar_t /
undef __need_wchar_t
endif / _STDDEF_H or __need_wchar_t. /
if defined (__need_wint_t)
ifndef _WINT_T
define _WINT_T
ifndef WINT_TYPE
define WINT_TYPE unsigned int
endif
typedef WINT_TYPE wint_t;
endif
undef __need_wint_t
endif
/ In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
are already defined. /
/ BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. /
if defined(ANSI_H) || defined(MACHINE_ANSI_H)
/ The references to GCC_PTRDIFF_T, GCC_SIZE_T, and GCC_WCHAR_T
are probably typos and should be removed before 2.8 is released. /
ifdef GCC_PTRDIFF_T
undef PTRDIFF_T
undef BSD_PTRDIFF_T
endif
ifdef GCC_SIZE_T
undef SIZE_T
undef BSD_SIZE_T
endif
ifdef GCC_WCHAR_T
undef WCHAR_T
undef BSD_WCHAR_T
endif
/ The following ones are the real ones. /
ifdef _GCC_PTRDIFF_T
undef PTRDIFF_T
undef BSD_PTRDIFF_T
endif
ifdef _GCC_SIZE_T
undef SIZE_T
undef BSD_SIZE_T
endif
ifdef _GCC_WCHAR_T
undef WCHAR_T
undef BSD_WCHAR_T
endif
endif / ANSI_H || MACHINE_ANSI_H /
endif / __sys_stdtypes_h /
/ A null pointer constant. /
if defined (_STDDEF_H) || defined (__need_NULL)
undef NULL / in case <stdio.h> has defined it. /
ifdef GNUG
define NULL __null
else / G++ /
ifndef __cplusplus
define NULL ((void *)0)
else / C++ /
define NULL 0
endif / C++ /
endif / G++ /
endif / NULL not defined and <stddef.h> or need NULL. /
undef __need_NULL
ifdef _STDDEF_H
/ Offset of member MEMBER in a struct of type TYPE. /
define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
endif / _STDDEF_H was defined this time /
endif / not RC_INVOKED /
endif /* !STDDEF_H && !_STDDEF_H && !_ANSI_STDDEF_H && !STDDEF_H
I didn't need the content (that was only needed if the other machine had only one stddef.h file), it was sufficient that it was there and not on yours - that is the problem.
What of my other question? Does that path exist on your machine?
And did you try the suggested solution: Copy all the files from that folder to the corresponding folder on your machine.
It may be easier (since it is likely that this is not the only problem file) to simply copy the whole of c:\dev-cpp\ from this other machine to yours. The fact that you have installed the program should ensure that the configuration files, associations, and any registry entries etc. are correct. All you need is a complete file set.
I reckon that's fix it.
Clifford
Sorry, ... I reckon that'll fix it. ...
The paths for both of the files exist on both machines. I even copied the dev-cpp folder of the working machine and replaced mine with it. And it still does not work, same exact error. Its gotta be something with my computer. Thanks for all the help.