Re: [Dev-C++] int small;=redeclaration of C++ built in type 'char'
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-07-14 13:59:55
|
Probably different set of defautl compiler flags, i.e. how strict the
compiler should follow the standards and warn about extensions. You
should not try to use the reserved keyword short for anything else.
/Per W
On Wed, 14 Jul 2004, Todd Gardner wrote:
> Hello everyone,
>
> When I run this code in dev-cpp version 4.9.8.0 I received the following
> error. When I run this code in MinGW Developer Studio 2.05 eight compiles
> fine.
>
> [Code]
> #include <iostream>
> #include <stdlib.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> int small;
> system("PAUSE");
> return 0;
> }
>
> [Error]
> int small; redeclaration of C++ built in type 'char'
>
> Why is this occurring in dev-cpp and not Min
> GW?
>
> I am running Windows 2000.
>
> Thank you,
>
> Todd
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|