Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

3 questions about MinGW

This topic is 5645 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I've recently migrated from VC++ to MinGW (to try!) and I have 2 questions : 1) I would like to understand why when I build an exe with VC++ which is about 24 Ko, the same is more than 430 Ko with gcc! (this when I use iostream, with printf() this is about 22 Ko) 2) I've the Warning "no new line at end of file". Why this is important for gcc ??? thx. [edit: third question ;p] 3) My program is composed of 3 files: main.cpp, bitmap.cpp and bitmap.h. main.cpp includes iostream, iomanip, fstream, string, time.h and "bitmap.h". bitmap.cpp includes fstream and "bitmap.h". bitmap.h includes nothing. there is no include of a windows file header anywhere. However, when I put the definition of tagBITMAPFILEHEADER, tagBITMAPCOREHEADER or another struct from wingdi.h, I get an error that it was already defined in wingdi.h! Where does it come from? Is wingdi.h always included with mingw??? (I wish someone understand me :F My english is not very good) [edited by - V3rt3x on December 6, 2002 4:05:42 PM] [edited by - V3rt3x on December 6, 2002 4:23:14 PM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!