You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2014/05/29 19:05:02 UTC

[jira] [Comment Edited] (TS-2095) autoconf warnings related to unordered_map

    [ https://issues.apache.org/jira/browse/TS-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012542#comment-14012542 ] 

Bryan Call edited comment on TS-2095 at 5/29/14 5:04 PM:
---------------------------------------------------------

>From config.log:

When testing the preprocessor it doesn't use c++11:
{code}
configure:7971: checking unordered_map presence
configure:7971: c++ -E  conftest.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from conftest.cpp:22:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
...
configure:7971: result: no
{code}


But does for the compiler:
{code}
configure:7971: checking unordered_set usability
configure:7971: c++ -c  -std=c++11  conftest.cpp >&5
configure:7971: $? = 0
configure:7971: result: yes
{code}


was (Author: bcall):
>From config.log:

When testing the preprocessor it doesn't use c++11:
{code}
configure:7971: checking unordered_map presence
configure:7971: c++ -E  conftest.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from conftest.cpp:22:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
{code}


But does for the compiler:
{code}
configure:7971: checking unordered_set usability
configure:7971: c++ -c  -std=c++11  conftest.cpp >&5
configure:7971: $? = 0
configure:7971: result: yes
{code}

> autoconf warnings related to unordered_map
> ------------------------------------------
>
>                 Key: TS-2095
>                 URL: https://issues.apache.org/jira/browse/TS-2095
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Assignee: Bryan Call
>             Fix For: 5.0.0
>
>
> {code}
> configure: WARNING: unordered_map: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: unordered_map: proceeding with the compiler's result
> checking for unordered_map... yes
> checking unordered_set usability... yes
> checking unordered_set presence... no
> configure: WARNING: unordered_set: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: unordered_set: proceeding with the compiler's result
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)