You are not logged in.

#1 2010-06-16 06:34:39

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

[solved] Mingw failed to compile c++ code after update

Hello to everyone. I'm using mingw to cross-compile Win32 applications. All things had worked fine until last mingw32-gcc upgrade to version 4.5.0-*. It seems to me that C++ headers and libs were removed from that package. After downgrading to 4.4.0-2 I was able to compile my applications again. Does anybody knows how to make 4.5.0 to work correctly?

Last edited by zhuk_av (2010-07-14 12:25:01)

Offline

#2 2010-06-17 01:08:12

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] Mingw failed to compile c++ code after update

I don't use this software (yet), but I have a guess. Do you have mingw32-w32api installed? It looks as if that's where the headers are stored.

Offline

#3 2010-06-17 06:37:25

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [solved] Mingw failed to compile c++ code after update

Yes, I have. Those headers in mingw32-w32api are for Win32 programs only and this package does not contain common C++ headers. In the same way mingw32-runtime contains standard C runtime headers but not C++ ones.

Offline

#4 2010-06-19 15:12:46

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [solved] Mingw failed to compile c++ code after update

Looks like after upgrade to 4.5.0-4 headers are back again. It's good to see mingw fully functional again.

Offline

Board footer

Powered by FluxBB