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 7530629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:57:48+00:00 2026-05-30T04:57:48+00:00

This is a very uninformed question, but: I would like to start using C++11.

  • 0

This is a very uninformed question, but:

I would like to start using C++11. Can I continue to use my large collection of libraries which were compiled with my old gcc 4.2.1 compiler or do I need to recompile them all with a new compiler? I would think (or hope) the answer is no, but I am only a dabbler.

So that I may have at least part of my ignorance removed, can you explain why in either case?

Thanks

  • 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-30T04:57:49+00:00Added an answer on May 30, 2026 at 4:57 am

    Yes, you should.

    The weaker reason is not binary compatibility, the problem is about expectations. A C++11 enabled compiler will expect a number of features to be available (move constructors among them) and use them when appropriate. And that’s only scratching the tip of the iceberg, there are several other incompatibilities (auto, 0 and its interaction with pointers, …).

    It means that any inline method in a header may suddenly be interpreted differently, in light of the C++11 Standard.

    The stronger reason is that each version of the compiler comes with its own Standard Library implementation. You don’t really want start mixing various versions around and especially not when they have undergone such major changes (once again, rvalue references…).

    Believe me, it’s simpler to recompile now rather than having that nagging thought that each bug that appear may be due to an incompatibility between old and new libraries…

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

Sidebar

Related Questions

This probably is a very very basic question but i can't seem to find
This one is probably very simple, but I can't seem to get it working.
I have this very simple button that I would like to hide <input type=button
This very simple code: #include <iostream> using namespace std; void exec(char* option) { cout
I've written this very simple function to replace a file extension using LINQ in
I'm sorry for this very newbish question, I'm not much given into web development.
I find this very strange, must be something I'm doing wrong, but still... I'm
Important : Please see this very much related question: Return multiple values in C++
I have this very simple example that I am using to learn structs in
I am using this very nice LinkedIn ruby gem (https://github.com/pengwynn/linkedin) for a project of

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.