[ https://issues.apache.org/activemq/browse/AMQCPP-19?page=all ]
Timothy Bish reassigned AMQCPP-19:
----------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
> Uuid class probably shouldn't use exception specifications
> ----------------------------------------------------------
>
> Key: AMQCPP-19
> URL: https://issues.apache.org/activemq/browse/AMQCPP-19
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Albert Strasheim
> Assigned To: Timothy Bish
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> activemq/util/Uuid.h contains exception specifications. This causes the
> Microsoft compiler to warn:
> G:\activemq/util/Guid.h(46) : warning C4290: C++ exception specification
> ignored except to indicate a function is not __declspec(nothrow)
> In my experience, C++ code typically doesn't use exception specifications.
> Instead the exceptions that can be thrown are simply documented with the
> relevant doxygen tag.
> Some references:
> http://www.gotw.ca/publications/mill22.htm
> http://www.gotw.ca/gotw/082.htm
> http://www.boost.org/more/lib_guide.htm#Exception-specification
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira