You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2013/10/10 02:39:42 UTC

[jira] [Resolved] (MESOS-729) ./stout/include/stout/hashmap.hpp:49:5: error: ‘erase’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

     [ https://issues.apache.org/jira/browse/MESOS-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kone resolved MESOS-729.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.15.0
         Assignee: Vinod Kone

commit a1fb323891068d8dca60658bef1e03a7f0452e8d


> ./stout/include/stout/hashmap.hpp:49:5: error: ‘erase’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-729
>                 URL: https://issues.apache.org/jira/browse/MESOS-729
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Ubuntu 13.04
>            Reporter: Vinson Lee
>            Assignee: Vinod Kone
>            Priority: Blocker
>             Fix For: 0.15.0
>
>
> g++ -DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I.  -I./stout/include -Iboost-1.53.0 -Iglog-0.3.3/src -Igmock-1.6.0/gtest/include -Igmock-1.6.0/include -Iprotobuf-2.4.1/src    -g -g2 -O2 -MT stout_tests-hashmap_tests.o -MD -MP -MF .deps/stout_tests-hashmap_tests.Tpo -c -o stout_tests-hashmap_tests.o `test -f 'stout/tests/hashmap_tests.cpp' || echo './'`stout/tests/hashmap_tests.cpp
> In file included from stout/tests/hashmap_tests.cpp:8:0:
> ./stout/include/stout/hashmap.hpp: In instantiation of ‘void hashmap<Key, Value>::put(const Key&, const Value&) [with Key = std::basic_string<char>; Value = int]’:
> stout/tests/hashmap_tests.cpp:17:19:   required from here
> ./stout/include/stout/hashmap.hpp:49:5: error: ‘erase’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> ./stout/include/stout/hashmap.hpp:49:5: note: declarations in dependent base ‘boost::unordered::unordered_map<std::basic_string<char>, int, boost::hash<std::basic_string<char> >, std::equal_to<std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, int> > >’ are not found by unqualified lookup
> ./stout/include/stout/hashmap.hpp:49:5: note: use ‘this->erase’ instead



--
This message was sent by Atlassian JIRA
(v6.1#6144)