You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Nathan Mittler (JIRA)" <ji...@apache.org> on 2007/10/05 18:00:25 UTC

[jira] Created: (AMQCPP-144) Decaf library build fails on OS X

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.


[jira] Commented: (AMQCPP-144) Decaf library build fails on OS X

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40290 ] 

Timothy Bish commented on AMQCPP-144:
-------------------------------------

Since Decaf is not part of 2.1.1 I don't think making it targeted to 2.1.1 is correct.  Perhaps make a separate decaf target or something.

> 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.


[jira] Resolved: (AMQCPP-144) Decaf library build fails on OS X

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Mittler resolved AMQCPP-144.
-----------------------------------

    Resolution: Fixed

Fixed in trunk

> 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.