Decaf library build fails on OS X
---------------------------------

                 Key: AMQCPP-144
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-144
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Decaf
            Reporter: Nathan Mittler
            Assignee: Nathan Mittler
            Priority: Minor
             Fix For: 2.1.1


Get the following error on OS X:

decaf/lang/System.cpp: In static member function 'static 
decaf::util::Map<std::string, std::string> decaf::lang::System::getenv()':
decaf/lang/System.cpp:153: error: 'environ' was not declared in this scope
decaf/lang/System.cpp:162: error: 'environ' was not declared in this scope
decaf/lang/System.cpp: In static member function 'static char** 
decaf::lang::System::getEnvArray()':
decaf/lang/System.cpp:225: error: 'environ' was not declared in this scope
decaf/lang/System.cpp:233: error: 'environ' was not declared in this scope

It appears that the environ gobal needs to be declared as an extern at the top 
of the file.

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

Reply via email to