Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7404089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:12:19+00:00 2026-05-29T05:12:19+00:00

Boost 1.48 GCC 4.2.4 AIX 5.3 PowerPC I have a C app that I

  • 0

Boost 1.48
GCC 4.2.4
AIX 5.3 PowerPC

I have a C app that I have been told to port to C++ and I now have a need to use regex. So since XMAS I have been learning C++ (And actually really loving it, not seen the wife in weeks tbh). So, I have to port an app over to AIX 5.3 using GCC. I am only using boost for the regex. I have a simple test example that compiles and runs fine, but when compiling I get these warnings. Can anyone advise on a) are they safe to ignore b)If not then what am I doing wrong c) Does anyone thing that strong coffee and late nights is a good plan for learning C++?

Here is the example:
#include
#include

bool isPluginPresent(const std::string& s)
{
    static const boost::regex e("^(Plugin|area-Hub-Plugin):\s*(.*arealdap.+)$", boost::regex::perl|boost::regex::icase);
  return boost::regex_match(s, e);
}

#include <iostream>
using namespace std;

int main()
{
    string s[6] = { "Pluuuugin: c:\\program files\\nextid.dll", 
                    "Plugin: c:\\program files\\areahub.dll",
                "AREA-Hub-Plugin: c:\\program files\\arealdap.so",
                          "AREA-Hub-Plugin: c:\\program files\\someother.so", 
                  "Hello World: I really should go to bed",
                "Plugin:            c:\\program files\\arealdap.so",};
   int i;
   for(i = 0; i < 6; ++i)
   {
       cout << "isPluginPresent " << s[i] << " returned " << isPluginPresent(s[i]) << endl;
   }

   return 0;
}

Compiled with
g++ -I /home/smurff/boost_1_48_0 -lpthreads example.cpp -o example /usr/local/lib/libboost_regex.a

And the warnings are a whole bunch like this:

ld: 0711-224 WARNING: Duplicate symbol: .non-virtual thunk to boost::exception_detail::error_info_injector::~error_info_injector()

Thanks for your time
Danny

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:12:20+00:00Added an answer on May 29, 2026 at 5:12 am

    a) Yes, they are safe to ignore. I compiled your code in my box and it is fine (check your \s escape sequence). So the warnings you are getting are likely to be caused by your compiler version or platform. You might try to upgrade those.

    b) —

    c) (Have you asked your wife?)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have large Boost/Spirit metaprogram that is blowing gcc's stack when I try to
I have gcc 4.4.5 and the latest boost library. I want to use boost
I have built boost 1.44 on CentOS 5.5 using the gcc that is part
I want to use boost::thread_specific_ptr but need to know what to add to my
I use boost a lot in my code but have so far refrained from
I'd like use boost::unordered_map<key,value> , where key is a std::set<int> . Since a set
I understand that boost regex static library is created with the ar utility by
I'm trying to use Boost::Interprocess but I have some compiler errors when trying to
How do I force a 32-bit build of Boost with GCC? Currently attempting by
I am working on a platform with a gcc compiler however boost cannot compile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.