activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler (JIRA)" <>
Subject [jira] Closed: (AMQCPP-134) Compiler warnings have returned for tests on gcc
Date Sat, 07 Jul 2007 19:13:33 GMT


Nathan Mittler closed AMQCPP-134.

    Resolution: Fixed

fixed in trunk

> Compiler warnings have returned for tests on gcc
> ------------------------------------------------
>                 Key: AMQCPP-134
>                 URL:
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>            Reporter: Nathan Mittler
>            Assignee: Nathan Mittler
>            Priority: Trivial
>             Fix For: 2.1
> from recent changes to the and scripts, the compiler warnings
for the test projects have returned. The changes are using the CXX_FLAGS variable to store
the settings.  The expectation being that by specifying activemq_test_CXXFLAGS, you would
override the CXX_FLAGS.  This, however, does not happen.  I believe the CXX_FLAGS, being user
override flags, are appended at the end of activemq_test_CXXFLAGS by the autotools.  This
has the affect of -Wall getting added to the gcc command line after all of our ignore directives
- thus causing warnings to appear.
> I believe the solution is to use another variable in the to store our parameters
(e.g. AMQ_CXXFLAGS) and let CXX_FLAGS truly be user-defined.  In the, the c++
flags line would then look something like this: activemq_test_CXXFLAGS= $(AMQ_CXXFLAGS)...

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

View raw message