Thanks Ruben for the help.
To answer your question, yes, I am.
I was also using -std=gnu++14. However, I am now compiling only with
–std::c++11, but to no avail.
From: Ruben Van Boxem
Sent: Monday, June 29, 2015 2:27 AM
To: [email protected]
Subject: Re: [Mingw-w64-public] throw(...) in MinGW
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
---
This email has been checked for viruses by Avast antivirus software.
http://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