Op 29-jun.-2015 07:32 schreef <[email protected]>:
>
> In VS2013, I declare the member functions like this:
> void setString(const std::wstring& _str) throw(...);
>
> But now that I am switching to MinGW, I get a complain from the compiler
saying:
> error: expected type-specifier before '...' token
> throw(...) {
>
> How can I fix this problem?

Are you compiling in C++11 mode? Add -std=c++11 to your commandline
invocation.

Ruben

>
> Thanks
>
>
> ________________________________
>
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com
>
>
>
>
------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to