wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.02k stars 1.76k forks source link

src/jpeg/jmorecfg.h compilation fix for cygwin/mingw #4914

Closed wxtrac closed 2 years ago

wxtrac commented 23 years ago

Issue migrated from trac ticket # 4914

component: wxMSW | priority: normal

2001-02-04 14:16:02: @nerijus created the issue


It fixes compilation with latest cygwin and the same report was in wx-users with mingw.

wxtrac commented 23 years ago

2001-02-04 14:16:02: @nerijus uploaded file None (0.5 KiB)

None

wxtrac commented 23 years ago

2001-02-06 01:03:25: @vadz commented


I can't apply it, it will break compilation for old versions of mingw32 - please test for mingw32 version (i.e. GNUC and __GNUC_MINOR__) and not just for mingw32.

Thanks!

wxtrac commented 23 years ago

2001-02-06 01:45:28: @nerijus commented


updated.

wxtrac commented 23 years ago

2001-02-06 02:05:20: @nerijus commented


sorry, this one should be correct.

wxtrac commented 23 years ago

2001-02-06 02:07:08: @vadz commented


yes, this is what I applied anyhow... I have a built in typo correction feature

wxtrac commented 23 years ago

2001-02-07 02:42:28: @nerijus commented


I have uploaded corrected patch earlier, but you didn't notice. Instead of (GNUC>=2) && (GNUC_MINOR>=95) it should be (GNUC>2) || ((GNUC==2) && (GNUC_MINOR>=95)) It's for GNUC=3. It's new patch against your checked in version.