0 Replies Latest reply on Nov 1, 2013 3:36 PM by 48cebf86-a9c6-4387-82e9-e5f475d9f8ac

    coherence C++ error with gcc 4.8.2 and C++11 mode

    48cebf86-a9c6-4387-82e9-e5f475d9f8ac

      Hi,

       

      I can compile my C++ app fine with gcc 4.8.2 in standard (old C++) mode.

       

      when I add --std=C++11 to gcc I get the following link error.
      coherence-cpp-12.1.2.0/include/coherence/lang/lang_spec.hpp:435: undefined reference to _ZN9coherence4util6filter10LikeFilterC1ENS_4lang11TypedHandleIKNS0_14ValueExtractorEEENS3_6String12StringHandleIKS8_EEDsb

       

      My code is basically just:

       

              util::ValueExtractor::View vExtractor = util::extractor::IdentityExtractor::getInstance();

              String::View sv(likePattern);

              util::Filter::View vFilter = util::filter::LikeFilter::create(vExtractor, sv);

       

       

      Are there known issues with C++ 11 or am I doing something incorrect ?

       

       

      Thanks,

       

      Neil