[ wxwindows-Bugs-1726904 ] wxSystem -> _tsystem on MinGW
SourceForge.net
noreply at sourceforge.net
Sat Jun 9 10:10:50 PDT 2007
Bugs item #1726904, was opened at 2007-05-28 15:09
Message generated for change (Comment added) made by vaclavslavik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726904&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Pending
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Christian Buhtz (moonkid)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxSystem -> _tsystem on MinGW
Initial Comment:
I am using wx2.8.4 on WinXP build with MinGW gcc.
I build my own projects with Code::Blocks and MinGW gcc.
If I use wxSystem() it is wrapped to _tsystem() and that occures an error on Windows because _tsystem() doesn't exists. It should be system().
_tsystem() is defined for WinCE.
The problem is in two different projects.
Somebody said to me it is a bug If wx is used with MinGW. Using wxExecute() works.
But something should be done with wxSystem(). Maybe a deprecated (use wxExecute() instead of wxSystem()) message while compiling or something like that.
----------------------------------------------------------------------
>Comment By: Vaclav Slavik (vaclavslavik)
Date: 2007-06-09 19:10
Message:
Logged In: YES
user_id=80834
Originator: NO
There will be major changes in related parts of wxWidgets (wxcrt.h) on CVS
HEAD in the next few days, please try again once they are checked in.
----------------------------------------------------------------------
Comment By: Christian Buhtz (moonkid)
Date: 2007-06-09 19:05
Message:
Logged In: YES
user_id=601949
Originator: YES
Ok, I tried it with the current CVS but the problem is still there. I
opened a bug on MinGW.
----------------------------------------------------------------------
Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-04 01:00
Message:
Logged In: YES
user_id=71618
Originator: NO
This looks like a mingw32 bug, please open a bug report with them: their
tchar.h should define _tsystem just as they already do it for all the other
functions.
In the meanwhile I've tried to fix it in wx itself, please test this and
let me know if it works for you, thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1726904&group_id=9863
More information about the wx-dev
mailing list