www.delorie.com/archives/browse.cgi | search |
From: | eandry AT hubcap DOT clemson DOT edu (Eric L Andry) |
Subject: | Syntax errors in standard Header files? |
29 Jan 1997 21:41:28 -0800 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <2.2.32.19970130035452.006804c0.cygnus.gnu-win32@hubcap.clemson.edu> |
Mime-Version: | 1.0 |
X-Sender: | eandry AT hubcap DOT clemson DOT edu |
X-Mailer: | Windows Eudora Pro Version 2.2 (32) |
X-Priority: | 1 (Highest) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
When I try to do a simple Hello world program like: #include <iostream.h> int main { cout << "Hello" << endl; cout.flush; return 0; } I get these error messages: bash$ gcc test.c -o test.exe In file included from \DEV\CYGNUS\include\g++/iostream.h:31, from test.c:1: \DEV\CYGNUS\include\g++/streambuf.h:35: syntax error before string constant In file included from \DEV\CYGNUS\include\g++/iostream.h:31, from test.c:1: \DEV\CYGNUS\include\g++/streambuf.h:37: syntax error before `}' bash$ I haven't had problems until the last few releases. Is it something I could have done and I don't mean modifying the header files because I haven't touched them!! \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \| Eric L. Andry | \| | \| Computer Engineering | \| Clemson University | \| Clemson, South Carolina | \| | \| mailto: eandry AT hubcap DOT clemson DOT edu | \| http://www.clemson.edu/~eandry/ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |