Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MingW32/Cygwin build fix #87

Closed
Ident opened this issue Jul 16, 2006 · 1 comment
Closed

MingW32/Cygwin build fix #87

Ident opened this issue Jul 16, 2006 · 1 comment

Comments

@Ident
Copy link
Member

Ident commented Jul 16, 2006

Original report by Anonymous.


Automatic migration. Original reporter: "Dalfy"

CEGUI does not build correctly on Mingw32 / Cygwin

MINGW and CYGWIN compatability
This patch converts all render, xmlparser, and major
header files to allow both MINGW and CYGWIN to compile
cegui. neither platform accept __declspec(dllimport).

Imported from sourceforge on July 16, 2006
Submitted by macguyvok

Reproducibility: always

Additional information: This patch makes it possible to compile on MinGW,
though more work is needed to get it to work on MSYS.
Essentially MinGW throws warnings when is sees
__declspec(dllimport), so these are defined out if
MINGW32 is seen, which is defined by the compiler.
Also MinGW's std::exception doesn't accept a parameter
in it's constructor, so these and their corresponding
catches were replaced with CEGUI::String for MinGW only.

OS: Windows, OS build: all, Platform: MingW32

@Ident
Copy link
Member Author

Ident commented Aug 2, 2006

Original comment by Anonymous.


Original reporter: Dalfy

I am closing this ticket cause its the same as ticket 55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant