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

Remove throw specifiers list (was Warning C4290 in VS) #51

Open
GoogleCodeExporter opened this issue May 21, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

Visual Studio 2010 throws this warning for a lot of mili files:

1>h:\projects\mili\mili\string_utils.h(328): warning C4290: C++ exception 
specification ignored except to indicate a function is not __declspec(nothrow)

Suggestions:
1) define a macro that will expand normally for other compilers different than 
VS
2) disable  the warning


Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 10:01

@GoogleCodeExporter
Copy link
Author

throw specifier is now discouraged and will be obsolete in C++0x.

I suggest to use this issue to remove the throw specifier list everywhere from 
mili, except the empty list.

Original comment by [email protected] on 9 Jan 2012 at 3:33

  • Changed title: Remove throw specifiers list (was Warning C4290 in VS)
  • Changed state: Accepted

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