I see you are taking small steps; next time perhaps you'll read the part in the "read first" posting advice about very long logs!? ;-) Never mind, I have a scroll wheel. I guess if in doubt...
The "Basic 3" you were referred to includes the Dev-C++ and OS version. What version of Dev-C++ are you using? Your log indicates that it is not 4.9.9.2. If that is your version, perhaps you have upgraded from an earlier version. This can cause problems by retaining configurations that are not compatible with the newer version. The "Read First" thread has information on uninstalling old versions (it is not quite as simple as you might like - you have to eradicate those old configuration files).
when you have the correct version and configuration. That is how I spotted teh problem and why teh log is essential. Post it first and a lot of time can be saved.
You also have your project in a path containing spaces ("C:\Users\mrjay100\Desktop\New Folder\Makefile.win"). I guess you missed that in the "read first" thread too! ;-)
i have just recently downloaded this C++ compiler and i have noticed that when i start a command prompt application it wont compile. So can someone send me some code that should work, so that way i can find out if something is wrong with the compiler.
this is my code:
include <iostream>
include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
cout<<"Hello World"<<endl;
system("PAUSE");
return 0;
}
and this is the error:
// -- 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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's not an error, that is the content of <cstddef>. Post the Compile Log text as you were asked! It will allow us to tell you what is wrong. The code you posted is fine. Your project settings or installation are not, the compile log will tell us how.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 main.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 main.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 main.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 main.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 main.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 parametersize_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 parametersize_t'
C:/Dev-Cpp/include/stdio.h:222: parse error before ,' token
C:/Dev-Cpp/include/stdio.h:223: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdio.h:223: parse error before ,' token
C:/Dev-Cpp/include/stdio.h: In functionint 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 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 )' 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 main.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 main.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 main.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 main.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 parametersize_t'
C:/Dev-Cpp/include/string.h:56: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:62: parse error beforechar'
C:/Dev-Cpp/include/string.h:65: parse error before char'
C:/Dev-Cpp/include/string.h:66: type specifier omitted for parametersize_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 parametersize_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 parametersize_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 parametersize_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 parametersize_t'
C:/Dev-Cpp/include/string.h:97: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:110: parse error beforewchar_t'
C:/Dev-Cpp/include/string.h:112: parse error before wchar_t'
C:/Dev-Cpp/include/string.h:113: type specifier omitted for parametersize_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 parametersize_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 parametersize_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 parametersize_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 parametersize_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 parametersize_t'
C:/Dev-Cpp/include/string.h:171: parse error before )' token
C:/Dev-Cpp/include/string.h: In functionint 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)
C:/Dev-Cpp/include/string.h: At global scope:
C:/Dev-Cpp/include/string.h:173: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:178: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/string.h:189: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/string.h:190: type specifier omitted for parameter `size_t'
In file included from C:/Dev-Cpp/include/windows.h:50,
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 main.cpp:1:
C:/Dev-Cpp/include/winbase.h:1116: type specifier omitted for parameter va_list'
C:/Dev-Cpp/include/winbase.h:1116: parse error before' token
C:/Dev-Cpp/include/winbase.h:1117: type specifier omitted for parameter va_list'
C:/Dev-Cpp/include/winbase.h:1117: parse error before' token
In file included from C:/Dev-Cpp/include/windows.h:55,
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 main.cpp:1:
C:/Dev-Cpp/include/winuser.h:3303: type specifier omitted for parameter va_list'
C:/Dev-Cpp/include/winuser.h:3303: parse error before)' token
C:/Dev-Cpp/include/winuser.h:3304: type specifier omitted for parameter va_list'
C:/Dev-Cpp/include/winuser.h:3304: parse error before)' token
In file included from C:/Dev-Cpp/include/stdlib.h:38,
from C:/Dev-Cpp/include/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.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/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.cpp:1:
C:/Dev-Cpp/include/stdlib.h:354: parse error before *' token
C:/Dev-Cpp/include/stdlib.h:357: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdlib.h:358: parse error before *' token
C:/Dev-Cpp/include/stdlib.h:359: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdlib.h:364: size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:364:size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:364: initializer list being treated as compound
expression
C:/Dev-Cpp/include/stdlib.h:365: size_t' was not declared in this scope
C:/Dev-Cpp/include/stdlib.h:366: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parametersize_t'
C:/Dev-Cpp/include/stdlib.h:429: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/stdlib.h:452: type specifier omitted for parametersize_t'
In file included from C:/Dev-Cpp/include/objbase.h:58,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.cpp:1:
C:/Dev-Cpp/include/unknwn.h:17: `size_t' was not declared in this scope
In file included from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.cpp:1:
C:/Dev-Cpp/include/string.h: In function BOOL IsEqualGUID(const GUID&, const
GUID&)':
C:/Dev-Cpp/include/string.h:53: too many arguments to functionint
memcmp(const void, const void)'
C:/Dev-Cpp/include/objbase.h:63: at this point in file
C:/Dev-Cpp/include/string.h: In function BOOL operator==(const GUID&, const
GUID&)':
C:/Dev-Cpp/include/string.h:53: too many arguments to functionint
memcmp(const void, const void)'
C:/Dev-Cpp/include/objbase.h:65: at this point in file
In file included 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 main.cpp:1:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h: At global scope:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:43: syntax error before `;' token
In file included from C:/Dev-Cpp/include/time.h:37,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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/sys/types.h:38,
from C:/Dev-Cpp/include/time.h:43,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/time.h:117: parse error before *' token
C:/Dev-Cpp/include/time.h:119: parse error before' token
C:/Dev-Cpp/include/time.h:128: parse error before `' token
In file included from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/c++/ctime:78: `strftime' not declared
In file included from C:/Dev-Cpp/include/ctype.h:36,
from C:/Dev-Cpp/include/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/ctype.h:190: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:191:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:192: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:193:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:194: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:194: parse error before)' token
C:/Dev-Cpp/include/ctype.h:194: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:195: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:195: parse error before)' token
C:/Dev-Cpp/include/ctype.h:195: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:196: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:197:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:198: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:199: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:200:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:201: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:202:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:203: wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:213:wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:213: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswalnum(...)':
C:/Dev-Cpp/include/ctype.h:213: `int iswalnum(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:190: previous declaration of int iswalnum'
C:/Dev-Cpp/include/ctype.h:190: previous non-function declarationint iswalnum
'
C:/Dev-Cpp/include/ctype.h:213: conflicts with function declaration `int
iswalnum(...)'
C:/Dev-Cpp/include/ctype.h:213: wc' undeclared (first use this function)
C:/Dev-Cpp/include/ctype.h:213:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:214: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function int iswalpha(...)':
C:/Dev-Cpp/include/ctype.h:214:int iswalpha(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:191: previous declaration of int iswalpha'
C:/Dev-Cpp/include/ctype.h:191: previous non-function declarationint iswalpha
'
C:/Dev-Cpp/include/ctype.h:214: conflicts with function declaration int
iswalpha(...)'
C:/Dev-Cpp/include/ctype.h:214:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:215: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswascii(...)':
C:/Dev-Cpp/include/ctype.h:215: `int iswascii(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:192: previous declaration of int iswascii'
C:/Dev-Cpp/include/ctype.h:192: previous non-function declarationint iswascii
'
C:/Dev-Cpp/include/ctype.h:215: conflicts with function declaration int
iswascii(...)'
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:216: parse error before)' token
C:/Dev-Cpp/include/ctype.h: In function int iswcntrl(...)':
C:/Dev-Cpp/include/ctype.h:216:int iswcntrl(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:193: previous declaration of `int iswcntrl'
C:/Dev-Cpp/include/ctype.h:193: previous non-function declaration int iswcntrl
'
C:/Dev-Cpp/include/ctype.h:216: conflicts with function declarationint
iswcntrl(...)'
C:/Dev-Cpp/include/ctype.h:216: iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:217: parse error before)' token
C:/Dev-Cpp/include/ctype.h: In function int iswdigit(...)':
C:/Dev-Cpp/include/ctype.h:217:int iswdigit(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:196: previous declaration of int iswdigit'
C:/Dev-Cpp/include/ctype.h:196: previous non-function declarationint iswdigit
'
C:/Dev-Cpp/include/ctype.h:217: conflicts with function declaration int
iswdigit(...)'
C:/Dev-Cpp/include/ctype.h:217:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:218: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswgraph(...)':
C:/Dev-Cpp/include/ctype.h:218: int iswgraph(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:197: previous declaration ofint iswgraph'
C:/Dev-Cpp/include/ctype.h:197: previous non-function declaration int iswgraph
'
C:/Dev-Cpp/include/ctype.h:218: conflicts with function declarationint
iswgraph(...)'
C:/Dev-Cpp/include/ctype.h:218: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:219: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswlower(...)':
C:/Dev-Cpp/include/ctype.h:219: int iswlower(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:198: previous declaration ofint iswlower'
C:/Dev-Cpp/include/ctype.h:198: previous non-function declaration int iswlower
'
C:/Dev-Cpp/include/ctype.h:219: conflicts with function declarationint
iswlower(...)'
C:/Dev-Cpp/include/ctype.h:219: iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:220: parse error before)' token
C:/Dev-Cpp/include/ctype.h: In function int iswprint(...)':
C:/Dev-Cpp/include/ctype.h:220:int iswprint(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:199: previous declaration of int iswprint'
C:/Dev-Cpp/include/ctype.h:199: previous non-function declarationint iswprint
'
C:/Dev-Cpp/include/ctype.h:220: conflicts with function declaration int
iswprint(...)'
C:/Dev-Cpp/include/ctype.h:220:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:221: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswpunct(...)':
C:/Dev-Cpp/include/ctype.h:221: int iswpunct(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:200: previous declaration ofint iswpunct'
C:/Dev-Cpp/include/ctype.h:200: previous non-function declaration int iswpunct
'
C:/Dev-Cpp/include/ctype.h:221: conflicts with function declarationint
iswpunct(...)'
C:/Dev-Cpp/include/ctype.h:221: iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:222: parse error before)' token
C:/Dev-Cpp/include/ctype.h: In function int iswspace(...)':
C:/Dev-Cpp/include/ctype.h:222:int iswspace(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:201: previous declaration of int iswspace'
C:/Dev-Cpp/include/ctype.h:201: previous non-function declarationint iswspace
'
C:/Dev-Cpp/include/ctype.h:222: conflicts with function declaration int
iswspace(...)'
C:/Dev-Cpp/include/ctype.h:222:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:223: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function int iswupper(...)':
C:/Dev-Cpp/include/ctype.h:223:int iswupper(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:202: previous declaration of int iswupper'
C:/Dev-Cpp/include/ctype.h:202: previous non-function declarationint iswupper
'
C:/Dev-Cpp/include/ctype.h:223: conflicts with function declaration int
iswupper(...)'
C:/Dev-Cpp/include/ctype.h:223:iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:224: parse error before )' token
C:/Dev-Cpp/include/ctype.h: In functionint iswxdigit(...)':
C:/Dev-Cpp/include/ctype.h:224: int iswxdigit(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:203: previous declaration ofint iswxdigit'
C:/Dev-Cpp/include/ctype.h:203: previous non-function declaration int
iswxdigit'
C:/Dev-Cpp/include/ctype.h:224: conflicts with function declarationint
iswxdigit(...)'
C:/Dev-Cpp/include/ctype.h:224: iswctype' cannot be used as a function
In file included from C:/Dev-Cpp/include/wchar.h:44,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/wchar.h: At global scope:
C:/Dev-Cpp/include/wchar.h:286: parse error before)' token
C:/Dev-Cpp/include/wchar.h:287: parse error before char'
C:/Dev-Cpp/include/wchar.h:288: parse error before' token
C:/Dev-Cpp/include/wchar.h:289: parse error before *' token
C:/Dev-Cpp/include/wchar.h:291: parse error before' token
C:/Dev-Cpp/include/wchar.h:292: parse error before *' token
C:/Dev-Cpp/include/wchar.h:293:wint_t' was not declared in this scope
C:/Dev-Cpp/include/wchar.h:298: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/wchar.h:298: parse error before)' token
C:/Dev-Cpp/include/wchar.h:299: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/wchar.h:299: parse error before)' token
C:/Dev-Cpp/include/wchar.h:300: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/wchar.h:300: parse error before)' token
C:/Dev-Cpp/include/wchar.h:302: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/wchar.h:302: parse error before)' token
C:/Dev-Cpp/include/wchar.h:303: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/wchar.h:303: parse error before)' token
In file included from C:/Dev-Cpp/include/c++/bits/char_traits.h:45,
from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/cstring:89: strxfrm' not declared
C:/Dev-Cpp/include/c++/cstring:90:strcspn' not declared
C:/Dev-Cpp/include/c++/cstring:91: strspn' not declared
C:/Dev-Cpp/include/c++/cstring:95:strlen' not declared
C:/Dev-Cpp/include/c++/cstring:100: type specifier omitted for parameter size_t'
C:/Dev-Cpp/include/c++/cstring:100: parse error before)' token
C:/Dev-Cpp/include/c++/cstring: In function void* std::memchr(...)':
C:/Dev-Cpp/include/c++/cstring:101:p' undeclared (first use this function)
C:/Dev-Cpp/include/c++/cstring:101: __c' undeclared (first use this function)
C:/Dev-Cpp/include/c++/cstring:101:n' undeclared (first use this function)
In file included from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:73: type specifier omitted for
parameter size_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:73: parse error before)' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:76: parse error before (' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:79: type specifier omitted for
parametersize_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:79: parse error before ,' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:82: type specifier omitted for
parametersize_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:82: parse error before )' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:85: type specifier omitted for
parametersize_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:85: parse error before )' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:88: type specifier omitted for
parametersize_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:88: parse error before ,' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:130: type specifier omitted for
parametersize_t'
C:/Dev-Cpp/include/c++/bits/char_traits.h:130: parse error before )' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:134: parse error before(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In static member function static
int std::char_traits<char>::compare(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:131:__s1' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:131: __s2' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:137: ISO C++ forbids defining types
within return type
C:/Dev-Cpp/include/c++/bits/char_traits.h:137: syntax error before' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:138: parse error before *' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In functionint std::find(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:139: parse error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:141: syntax error before *' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:145: syntax error before*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:149: syntax error before *' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:154: syntax error before(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:160: syntax error before (' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:164: parse error before&' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: In function bool eq_int_type(...)':
C:/Dev-Cpp/include/c++/bits/char_traits.h:165:__c1' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:165: __c2' undeclared (first use
this function)
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:168: syntax error before(' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:171: syntax error before (' token
C:/Dev-Cpp/include/c++/bits/char_traits.h:250: parse error before}' token
In file included from C:/Dev-Cpp/include/locale.h:56,
from C:/Dev-Cpp/include/c++/clocale:49,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++locale.h:36,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:46,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.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++/bits/stl_algobase.h:67,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/cstdlib:105: `mbstowcs' not declared
C:/Dev-Cpp/include/c++/cstdlib:115: `wcstombs' not declared
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:69,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/new:79: size_t' undeclared in namespacestd'
C:/Dev-Cpp/include/c++/new:79: declaration of operator new' as non-function
C:/Dev-Cpp/include/c++/new:79: invalid declarator
C:/Dev-Cpp/include/c++/new:80:size_t' undeclared in namespace std'
C:/Dev-Cpp/include/c++/new:80: declaration ofoperator new []' as non-function
C:/Dev-Cpp/include/c++/new:80: invalid declarator
C:/Dev-Cpp/include/c++/new:83: size_t' undeclared in namespacestd'
C:/Dev-Cpp/include/c++/new:83: parse error before ::' token
C:/Dev-Cpp/include/c++/new:83:operator new' takes type size_t' (unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new:84: size_t' undeclared in namespacestd'
C:/Dev-Cpp/include/c++/new:84: parse error before ::' token
C:/Dev-Cpp/include/c++/new:84:operator new' takes type size_t' (unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new:89: size_t' undeclared in namespacestd'
C:/Dev-Cpp/include/c++/new:89: parse error before *' token
C:/Dev-Cpp/include/c++/new:89:operator new' takes type size_t' (unsigned
int') as first parameter
C:/Dev-Cpp/include/c++/new: In function void* operator new(unsigned int,
...)':
C:/Dev-Cpp/include/c++/new:89:__p' undeclared (first use this function)
C:/Dev-Cpp/include/c++/new: At global scope:
C:/Dev-Cpp/include/c++/new:90: size_t' undeclared in namespacestd'
C:/Dev-Cpp/include/c++/new:90: parse error before *' token
C:/Dev-Cpp/include/c++/new:90:operator new' takes type size_t' (unsigned
int') as first parameter
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:73,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:100: parse error before ,' token
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: template declaration
oftypedef _Tp std::value_type'
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: confused by earlier errors, bailing out
make.exe: *** [main.o] Error 1
Execution terminated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
after i create a new console project and compile it without making anychanges to it and #include <stddef.h> causes problems
not changed code for console app:
include <iostream>
include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return 0;
}
I see you are taking small steps; next time perhaps you'll read the part in the "read first" posting advice about very long logs!? ;-) Never mind, I have a scroll wheel. I guess if in doubt...
The "Basic 3" you were referred to includes the Dev-C++ and OS version. What version of Dev-C++ are you using? Your log indicates that it is not 4.9.9.2. If that is your version, perhaps you have upgraded from an earlier version. This can cause problems by retaining configurations that are not compatible with the newer version. The "Read First" thread has information on uninstalling old versions (it is not quite as simple as you might like - you have to eradicate those old configuration files).
The version you should install is: devcpp-4.9.9.2_setup.exe from https://sourceforge.net/project/showfiles.php?group_id=10639&package_id=12148&release_id=307174
Just so you know, in your log the part that has:
g++.exe -c main.cpp -o main.o -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"
Should look like:
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
when you have the correct version and configuration. That is how I spotted teh problem and why teh log is essential. Post it first and a lot of time can be saved.
You also have your project in a path containing spaces ("C:\Users\mrjay100\Desktop\New Folder\Makefile.win"). I guess you missed that in the "read first" thread too! ;-)
Before you get really flamed, I suggest you familiarise yourself with the content of https://sourceforge.net/forum/forum.php?thread_id=1693710&forum_id=48211 since so far every one of your posts has issues that are dealt with in that thread. It is intended to save both you and us time.
Clifford
http://catb.org/~esr/faqs/smart-questions.html
That can help.
Please post your Basic 3. They are covered in the thread titled (not accidentally)
"Please Read Before Posting a Question"
Wayne
Brilliant! You posted the code that doesn't cause the problem. Let me think..., what could possibly be wrong with that!?
"causes problems"... really? like what!? How are we supposed ot figure this out? Clairvoyance?
As a consolation, you have won stupid question of the month - and believe me the standard is high. But sorry, no prizes.
Clifford
i have just recently downloaded this C++ compiler and i have noticed that when i start a command prompt application it wont compile. So can someone send me some code that should work, so that way i can find out if something is wrong with the compiler.
this is my code:
include <iostream>
include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
cout<<"Hello World"<<endl;
system("PAUSE");
return 0;
}
and this is the error:
// -- 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
That's not an error, that is the content of <cstddef>. Post the Compile Log text as you were asked! It will allow us to tell you what is wrong. The code you posted is fine. Your project settings or installation are not, the compile log will tell us how.
Clifford
The Compile Log as requested:
Compiler: Default compiler
Building Makefile: "C:\Users\mrjay100\Desktop\New Folder\Makefile.win"
Executing make...
make.exe -f "C:\Users\mrjay100\Desktop\New Folder\Makefile.win" all
g++.exe -c main.cpp -o main.o -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"
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 main.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 main.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 main.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,
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,
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
,' 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 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
,' tokenC:/Dev-Cpp/include/stdio.h:383: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdio.h:383: parse error before
,' tokenC:/Dev-Cpp/include/stdio.h:400: parse error before
)' token C:/Dev-Cpp/include/stdio.h:401:
wint_t' was not declared in this scopeC:/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 scopeC:/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,
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 main.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 main.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,
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
' tokenC:/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
' tokenC:/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
)' 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) C:/Dev-Cpp/include/string.h: At global scope: C:/Dev-Cpp/include/string.h:173: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:178: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/string.h:189: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/string.h:190: type specifier omitted for parameter `size_t'
In file included from C:/Dev-Cpp/include/windows.h:50,
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 main.cpp:1:
C:/Dev-Cpp/include/winbase.h:1116: type specifier omitted for parameter
va_list' C:/Dev-Cpp/include/winbase.h:1116: parse error before
' tokenC:/Dev-Cpp/include/winbase.h:1117: type specifier omitted for parameter
va_list' C:/Dev-Cpp/include/winbase.h:1117: parse error before
' tokenIn file included from C:/Dev-Cpp/include/windows.h:55,
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 main.cpp:1:
C:/Dev-Cpp/include/winuser.h:3303: type specifier omitted for parameter
va_list' C:/Dev-Cpp/include/winuser.h:3303: parse error before
)' tokenC:/Dev-Cpp/include/winuser.h:3304: type specifier omitted for parameter
va_list' C:/Dev-Cpp/include/winuser.h:3304: parse error before
)' tokenIn file included from C:/Dev-Cpp/include/stdlib.h:38,
from C:/Dev-Cpp/include/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.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/objbase.h:12,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.cpp:1:
C:/Dev-Cpp/include/stdlib.h:354: parse error before
*' token C:/Dev-Cpp/include/stdlib.h:357: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdlib.h:358: parse error before
*' token C:/Dev-Cpp/include/stdlib.h:359: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdlib.h:364:
size_t' was not declared in this scope C:/Dev-Cpp/include/stdlib.h:364:
size_t' was not declared in this scopeC:/Dev-Cpp/include/stdlib.h:364: initializer list being treated as compound
expression
C:/Dev-Cpp/include/stdlib.h:365:
size_t' was not declared in this scope C:/Dev-Cpp/include/stdlib.h:366: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdlib.h:376: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdlib.h:378: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/stdlib.h:429: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/stdlib.h:452: type specifier omitted for parameter
size_t'In file included from C:/Dev-Cpp/include/objbase.h:58,
from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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 main.cpp:1:
C:/Dev-Cpp/include/unknwn.h:17: `size_t' was not declared in this scope
In file included from C:/Dev-Cpp/include/ole2.h:9,
from C:/Dev-Cpp/include/windows.h:111,
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,
C:/Dev-Cpp/include/string.h: In function
BOOL IsEqualGUID(const GUID&, const GUID&)': C:/Dev-Cpp/include/string.h:53: too many arguments to function
intmemcmp(const void, const void)'
C:/Dev-Cpp/include/objbase.h:63: at this point in file
C:/Dev-Cpp/include/string.h: In function
BOOL operator==(const GUID&, const GUID&)': C:/Dev-Cpp/include/string.h:53: too many arguments to function
intmemcmp(const void, const void)'
C:/Dev-Cpp/include/objbase.h:65: at this point in file
In file included 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 main.cpp:1:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h: At global scope:
C:/Dev-Cpp/include/c++/mingw32/bits/c++io.h:43: syntax error before `;' token
In file included from C:/Dev-Cpp/include/time.h:37,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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/sys/types.h:38,
from C:/Dev-Cpp/include/time.h:43,
from C:/Dev-Cpp/include/c++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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++/ctime:51,
from C:/Dev-Cpp/include/c++/cwchar:51,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/time.h:117: parse error before
*' token C:/Dev-Cpp/include/time.h:119: parse error before
' tokenC:/Dev-Cpp/include/time.h:128: parse error before `' token
In file included from C:/Dev-Cpp/include/c++/cwchar:51,
C:/Dev-Cpp/include/c++/ctime:78: `strftime' not declared
In file included from C:/Dev-Cpp/include/ctype.h:36,
from C:/Dev-Cpp/include/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.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/wchar.h:33,
from C:/Dev-Cpp/include/c++/cwchar:54,
from C:/Dev-Cpp/include/c++/bits/fpos.h:45,
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 main.cpp:1:
C:/Dev-Cpp/include/ctype.h:190:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:191:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:192:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:193:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:194:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:194: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h:194: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:195:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:195: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h:195: initializer list being treated as compound
expression
C:/Dev-Cpp/include/ctype.h:196:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:197:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:198: `wint_t' was not declared in this scope
C:/Dev-Cpp/include/ctype.h:199:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:200:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:201:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:202:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:203:
wint_t' was not declared in this scope C:/Dev-Cpp/include/ctype.h:213:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/ctype.h:213: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswalnum(...)':C:/Dev-Cpp/include/ctype.h:213: `int iswalnum(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:190: previous declaration of
int iswalnum' C:/Dev-Cpp/include/ctype.h:190: previous non-function declaration
int iswalnum'
C:/Dev-Cpp/include/ctype.h:213: conflicts with function declaration `int
iswalnum(...)'
C:/Dev-Cpp/include/ctype.h:213:
wc' undeclared (first use this function) C:/Dev-Cpp/include/ctype.h:213:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:214: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function
int iswalpha(...)': C:/Dev-Cpp/include/ctype.h:214:
int iswalpha(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:191: previous declaration of
int iswalpha' C:/Dev-Cpp/include/ctype.h:191: previous non-function declaration
int iswalpha'
C:/Dev-Cpp/include/ctype.h:214: conflicts with function declaration
int iswalpha(...)' C:/Dev-Cpp/include/ctype.h:214:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:215: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswascii(...)':C:/Dev-Cpp/include/ctype.h:215: `int iswascii(...)' redeclared as different
kind of symbol
C:/Dev-Cpp/include/ctype.h:192: previous declaration of
int iswascii' C:/Dev-Cpp/include/ctype.h:192: previous non-function declaration
int iswascii'
C:/Dev-Cpp/include/ctype.h:215: conflicts with function declaration
int iswascii(...)' C:/Dev-Cpp/include/ctype.h: At global scope: C:/Dev-Cpp/include/ctype.h:216: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h: In function
int iswcntrl(...)': C:/Dev-Cpp/include/ctype.h:216:
int iswcntrl(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:193: previous declaration of `int iswcntrl'
C:/Dev-Cpp/include/ctype.h:193: previous non-function declaration
int iswcntrl ' C:/Dev-Cpp/include/ctype.h:216: conflicts with function declaration
intiswcntrl(...)'
C:/Dev-Cpp/include/ctype.h:216:
iswctype' cannot be used as a function C:/Dev-Cpp/include/ctype.h: At global scope: C:/Dev-Cpp/include/ctype.h:217: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h: In function
int iswdigit(...)': C:/Dev-Cpp/include/ctype.h:217:
int iswdigit(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:196: previous declaration of
int iswdigit' C:/Dev-Cpp/include/ctype.h:196: previous non-function declaration
int iswdigit'
C:/Dev-Cpp/include/ctype.h:217: conflicts with function declaration
int iswdigit(...)' C:/Dev-Cpp/include/ctype.h:217:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:218: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswgraph(...)':C:/Dev-Cpp/include/ctype.h:218:
int iswgraph(...)' redeclared as different kind of symbol C:/Dev-Cpp/include/ctype.h:197: previous declaration of
int iswgraph'C:/Dev-Cpp/include/ctype.h:197: previous non-function declaration
int iswgraph ' C:/Dev-Cpp/include/ctype.h:218: conflicts with function declaration
intiswgraph(...)'
C:/Dev-Cpp/include/ctype.h:218: `iswctype' cannot be used as a function
C:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:219: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswlower(...)':C:/Dev-Cpp/include/ctype.h:219:
int iswlower(...)' redeclared as different kind of symbol C:/Dev-Cpp/include/ctype.h:198: previous declaration of
int iswlower'C:/Dev-Cpp/include/ctype.h:198: previous non-function declaration
int iswlower ' C:/Dev-Cpp/include/ctype.h:219: conflicts with function declaration
intiswlower(...)'
C:/Dev-Cpp/include/ctype.h:219:
iswctype' cannot be used as a function C:/Dev-Cpp/include/ctype.h: At global scope: C:/Dev-Cpp/include/ctype.h:220: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h: In function
int iswprint(...)': C:/Dev-Cpp/include/ctype.h:220:
int iswprint(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:199: previous declaration of
int iswprint' C:/Dev-Cpp/include/ctype.h:199: previous non-function declaration
int iswprint'
C:/Dev-Cpp/include/ctype.h:220: conflicts with function declaration
int iswprint(...)' C:/Dev-Cpp/include/ctype.h:220:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:221: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswpunct(...)':C:/Dev-Cpp/include/ctype.h:221:
int iswpunct(...)' redeclared as different kind of symbol C:/Dev-Cpp/include/ctype.h:200: previous declaration of
int iswpunct'C:/Dev-Cpp/include/ctype.h:200: previous non-function declaration
int iswpunct ' C:/Dev-Cpp/include/ctype.h:221: conflicts with function declaration
intiswpunct(...)'
C:/Dev-Cpp/include/ctype.h:221:
iswctype' cannot be used as a function C:/Dev-Cpp/include/ctype.h: At global scope: C:/Dev-Cpp/include/ctype.h:222: parse error before
)' tokenC:/Dev-Cpp/include/ctype.h: In function
int iswspace(...)': C:/Dev-Cpp/include/ctype.h:222:
int iswspace(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:201: previous declaration of
int iswspace' C:/Dev-Cpp/include/ctype.h:201: previous non-function declaration
int iswspace'
C:/Dev-Cpp/include/ctype.h:222: conflicts with function declaration
int iswspace(...)' C:/Dev-Cpp/include/ctype.h:222:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:223: parse error before `)' token
C:/Dev-Cpp/include/ctype.h: In function
int iswupper(...)': C:/Dev-Cpp/include/ctype.h:223:
int iswupper(...)' redeclared as differentkind of symbol
C:/Dev-Cpp/include/ctype.h:202: previous declaration of
int iswupper' C:/Dev-Cpp/include/ctype.h:202: previous non-function declaration
int iswupper'
C:/Dev-Cpp/include/ctype.h:223: conflicts with function declaration
int iswupper(...)' C:/Dev-Cpp/include/ctype.h:223:
iswctype' cannot be used as a functionC:/Dev-Cpp/include/ctype.h: At global scope:
C:/Dev-Cpp/include/ctype.h:224: parse error before
)' token C:/Dev-Cpp/include/ctype.h: In function
int iswxdigit(...)':C:/Dev-Cpp/include/ctype.h:224:
int iswxdigit(...)' redeclared as different kind of symbol C:/Dev-Cpp/include/ctype.h:203: previous declaration of
int iswxdigit'C:/Dev-Cpp/include/ctype.h:203: previous non-function declaration
int iswxdigit' C:/Dev-Cpp/include/ctype.h:224: conflicts with function declaration
intiswxdigit(...)'
C:/Dev-Cpp/include/ctype.h:224:
iswctype' cannot be used as a function In file included from C:/Dev-Cpp/include/wchar.h:44, from C:/Dev-Cpp/include/c++/cwchar:54, from C:/Dev-Cpp/include/c++/bits/fpos.h:45, 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 main.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++/cwchar:54, from C:/Dev-Cpp/include/c++/bits/fpos.h:45, 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 main.cpp:1: C:/Dev-Cpp/include/wchar.h: At global scope: C:/Dev-Cpp/include/wchar.h:286: parse error before
)' tokenC:/Dev-Cpp/include/wchar.h:287: parse error before
char' C:/Dev-Cpp/include/wchar.h:288: parse error before
' tokenC:/Dev-Cpp/include/wchar.h:289: parse error before
*' token C:/Dev-Cpp/include/wchar.h:291: parse error before
' tokenC:/Dev-Cpp/include/wchar.h:292: parse error before
*' token C:/Dev-Cpp/include/wchar.h:293:
wint_t' was not declared in this scopeC:/Dev-Cpp/include/wchar.h:298: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/wchar.h:298: parse error before
)' tokenC:/Dev-Cpp/include/wchar.h:299: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/wchar.h:299: parse error before
)' tokenC:/Dev-Cpp/include/wchar.h:300: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/wchar.h:300: parse error before
)' tokenC:/Dev-Cpp/include/wchar.h:302: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/wchar.h:302: parse error before
)' tokenC:/Dev-Cpp/include/wchar.h:303: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/wchar.h:303: parse error before
)' tokenIn file included from C:/Dev-Cpp/include/c++/bits/char_traits.h:45,
from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
C:/Dev-Cpp/include/c++/cstring:89:
strxfrm' not declared C:/Dev-Cpp/include/c++/cstring:90:
strcspn' not declaredC:/Dev-Cpp/include/c++/cstring:91:
strspn' not declared C:/Dev-Cpp/include/c++/cstring:95:
strlen' not declaredC:/Dev-Cpp/include/c++/cstring:100: type specifier omitted for parameter
size_t' C:/Dev-Cpp/include/c++/cstring:100: parse error before
)' tokenC:/Dev-Cpp/include/c++/cstring: In function
void* std::memchr(...)': C:/Dev-Cpp/include/c++/cstring:101:
p' undeclared (first use this function)C:/Dev-Cpp/include/c++/cstring:101:
__c' undeclared (first use this function) C:/Dev-Cpp/include/c++/cstring:101:
n' undeclared (first use this function)In file included from C:/Dev-Cpp/include/c++/ios:46,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:73: type specifier omitted for
parameter
size_t' C:/Dev-Cpp/include/c++/bits/char_traits.h:73: parse error before
)' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h:76: parse error before
(' token C:/Dev-Cpp/include/c++/bits/char_traits.h:79: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/c++/bits/char_traits.h:79: parse error before
,' token C:/Dev-Cpp/include/c++/bits/char_traits.h:82: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/c++/bits/char_traits.h:82: parse error before
)' token C:/Dev-Cpp/include/c++/bits/char_traits.h:85: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/c++/bits/char_traits.h:85: parse error before
)' token C:/Dev-Cpp/include/c++/bits/char_traits.h:88: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/c++/bits/char_traits.h:88: parse error before
,' token C:/Dev-Cpp/include/c++/bits/char_traits.h:130: type specifier omitted for parameter
size_t'C:/Dev-Cpp/include/c++/bits/char_traits.h:130: parse error before
)' token C:/Dev-Cpp/include/c++/bits/char_traits.h:134: parse error before
(' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h: In static member function
static int std::char_traits<char>::compare(...)': C:/Dev-Cpp/include/c++/bits/char_traits.h:131:
__s1' undeclared (first usethis function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:131:
__s2' undeclared (first use this function) C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope: C:/Dev-Cpp/include/c++/bits/char_traits.h:137: ISO C++ forbids defining types within return type C:/Dev-Cpp/include/c++/bits/char_traits.h:137: syntax error before
' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h:138: parse error before
*' token C:/Dev-Cpp/include/c++/bits/char_traits.h: In function
int std::find(...)':C:/Dev-Cpp/include/c++/bits/char_traits.h:139: parse error before `*' token
C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope:
C:/Dev-Cpp/include/c++/bits/char_traits.h:141: syntax error before
*' token C:/Dev-Cpp/include/c++/bits/char_traits.h:145: syntax error before
*' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h:149: syntax error before
*' token C:/Dev-Cpp/include/c++/bits/char_traits.h:154: syntax error before
(' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h:160: syntax error before
(' token C:/Dev-Cpp/include/c++/bits/char_traits.h:164: parse error before
&' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h: In function
bool eq_int_type(...)': C:/Dev-Cpp/include/c++/bits/char_traits.h:165:
__c1' undeclared (first usethis function)
C:/Dev-Cpp/include/c++/bits/char_traits.h:165:
__c2' undeclared (first use this function) C:/Dev-Cpp/include/c++/bits/char_traits.h: At global scope: C:/Dev-Cpp/include/c++/bits/char_traits.h:168: syntax error before
(' tokenC:/Dev-Cpp/include/c++/bits/char_traits.h:171: syntax error before
(' token C:/Dev-Cpp/include/c++/bits/char_traits.h:250: parse error before
}' tokenIn file included from C:/Dev-Cpp/include/locale.h:56,
from C:/Dev-Cpp/include/c++/clocale:49,
from C:/Dev-Cpp/include/c++/mingw32/bits/c++locale.h:36,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:46,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.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++/bits/stl_algobase.h:67,
C:/Dev-Cpp/include/c++/cstdlib:105: `mbstowcs' not declared
C:/Dev-Cpp/include/c++/cstdlib:115: `wcstombs' not declared
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:69,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/new:79:
size_t' undeclared in namespace
std'C:/Dev-Cpp/include/c++/new:79: declaration of
operator new' as non-function C:/Dev-Cpp/include/c++/new:79: invalid declarator C:/Dev-Cpp/include/c++/new:80:
size_t' undeclared in namespacestd' C:/Dev-Cpp/include/c++/new:80: declaration of
operator new []' as non-functionC:/Dev-Cpp/include/c++/new:80: invalid declarator
C:/Dev-Cpp/include/c++/new:83:
size_t' undeclared in namespace
std'C:/Dev-Cpp/include/c++/new:83: parse error before
::' token C:/Dev-Cpp/include/c++/new:83:
operator new' takes typesize_t' (
unsignedint') as first parameter
C:/Dev-Cpp/include/c++/new:84:
size_t' undeclared in namespace
std'C:/Dev-Cpp/include/c++/new:84: parse error before
::' token C:/Dev-Cpp/include/c++/new:84:
operator new' takes typesize_t' (
unsignedint') as first parameter
C:/Dev-Cpp/include/c++/new:89:
size_t' undeclared in namespace
std'C:/Dev-Cpp/include/c++/new:89: parse error before
*' token C:/Dev-Cpp/include/c++/new:89:
operator new' takes typesize_t' (
unsignedint') as first parameter
C:/Dev-Cpp/include/c++/new: In function
void* operator new(unsigned int, ...)': C:/Dev-Cpp/include/c++/new:89:
__p' undeclared (first use this function)C:/Dev-Cpp/include/c++/new: At global scope:
C:/Dev-Cpp/include/c++/new:90:
size_t' undeclared in namespace
std'C:/Dev-Cpp/include/c++/new:90: parse error before
*' token C:/Dev-Cpp/include/c++/new:90:
operator new' takes typesize_t' (
unsignedint') as first parameter
In file included from C:/Dev-Cpp/include/c++/bits/stl_algobase.h:73,
from C:/Dev-Cpp/include/c++/memory:54,
from C:/Dev-Cpp/include/c++/string:48,
from C:/Dev-Cpp/include/c++/bits/localefwd.h:49,
from C:/Dev-Cpp/include/c++/ios:48,
from C:/Dev-Cpp/include/c++/ostream:45,
from C:/Dev-Cpp/include/c++/iostream:45,
from main.cpp:1:
C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:100: parse error before
,' token C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: template declaration of
typedef _Tp std::value_type'C:/Dev-Cpp/include/c++/bits/stl_iterator_base_types.h:106: confused by earlier errors, bailing out
make.exe: *** [main.o] Error 1
Execution terminated