🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42746

C++ compiling with gcc for win32 HELP!!!!!!!!

#42746
From: Wartenweiler Walter
Date: Mon, 06 Nov 1995 00:00
31 lines
1063 bytes
Hye !

Again and again I post this article with the fading hope to get an answer ...

(Life is hard)


I try to compile with gcc b8 for win32 the following code


#include <windows.h>

main()
{
}

If assuming it's C code everything compiles fine 
if assuming it's C++ code I get the following error:

syntax error before `__attribute__`

many times at different include files position

Does someone have a good idea ?

I'm getting desperate ...


HELP

Walter
Technical Details
Message-ID: <47l6rn$cko@info.epfl.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,36c596164df9d158,start
X-Google-Attributes: gid11318c,public
From: Wartenweiler Walter <wwartenw@studi.epfl.ch>
Subject: C++ compiling with gcc for win32  HELP!!!!!!!!
Date: 1995/11/06
Message-ID: <47l6rn$cko@info.epfl.ch>
X-Deja-AN: 118823134
content-type: text/plain; charset=us-ascii
organization: Ecole Polytechnique Federale de Lausanne (Laboratoire de Teleinformatique)
x-url: news:gnu.gcc.help
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha)