activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Strasheim (JIRA)" <>
Subject [jira] Updated: (AMQCPP-103) Pull out generic libraries from activemq-cpp namespace
Date Sun, 10 Jun 2007 16:29:33 GMT


Albert Strasheim updated AMQCPP-103:

    Attachment: vs2005-decaf-v1.diff

First try at Visual Studio 2005 build files.

I had to make a small fix to ServerSocket.cpp.

I also had to move the code in the headers of Boolean, Integer and Long into .cpp files to
get the unit tests to link against the DLL version of the library. I'm not quite sure why
this is necessary, but I couldn't find anything obvious via Google, so I went with the easy
option (just move it).

All tests pass for all the builds.

There is one warning that might warrant a quick look:

1>..\src\main\decaf\io\ByteArrayInputStream.cpp(66) : warning C4996: 'std::copy': Function
call with parameters that may be unsafe - this call relies on the caller to check that the
passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation
on how to use Visual C++ 'Checked Iterators'
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2370) : see declaration
of 'std::copy'

I don't think all calls to std::copy necessarily cause this warning to be emitted, so it might
be that there is something not quite right in the ByteArrayInputStream code.

> Pull out generic libraries from activemq-cpp namespace
> ------------------------------------------------------
>                 Key: AMQCPP-103
>                 URL:
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Nathan Mittler
>            Assignee: Timothy Bish
>             Fix For: 2.2
>         Attachments: vs2005-decaf-v1.diff
> Since many of the libraries in activemq-cpp are not activemq-specific, we should move
them to their own namespace.  Eventually, it would be nice for these classes to become their
own project, similar to APR.  Since the classes mirror Java classes, we're proposing the name
"decaf" for the new namespace :).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message