Article View: gnu.gcc.help
Article #42629gcc for Windows 95/NT: compiling C++?
From: Christian Ghisler
Date: Thu, 16 Nov 1995 00:00
Date: Thu, 16 Nov 1995 00:00
20 lines
1154 bytes
1154 bytes
Hi! I'm trying to compile some Windows code with GCC 2.7 Beta8 for Windows 95. When I compile a file with extension .c (i.e. plain c code), the compilation works fine, but when I try to compile a file with extension .cc to use some c++ constructs like "class" I get tons of errors in the standard header files (inlcuded with windows.h)! This happens before my own code is even reached! The first line of my code is #include <windows.h> Is the beta version still unable to compile windows code, or am I doing something wrong? Any help appreciated! Christian Ghisler P.S. I'm trying to do some OLE2 stuff (create shortcut). If anyone has experience with this, especially with the calling conventions, I would appreciate some help.
Technical Details
Message-ID:
<48f6bv$kto@aragorn.unibe.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,aff2148f3816d6f2,start X-Google-Attributes: gid11318c,public From: ghisler@iap.unibe.ch (Christian Ghisler) Subject: gcc for Windows 95/NT: compiling C++? Date: 1995/11/16 Message-ID: <48f6bv$kto@aragorn.unibe.ch> X-Deja-AN: 119772658 organization: University of Bern reply-to: ghisler@iap.unibe.ch newsgroups: gnu.gcc.help