public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: 孙世龙 <sunshilong369@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Linking to dynamic libraries compiled by old version g++
Date: Mon, 7 Nov 2022 10:10:15 +0800	[thread overview]
Message-ID: <CAAvDm6YXKxdxApX8p3gzB5moKNqrnmcxk4=ZXDRHdw6UZFLdOA@mail.gmail.com> (raw)

There are dynamic libraries provided by others, which are out of my control.

What I know is that most of the aforementioned libraries are compiled
by g++4.9.4 & g++4.8.4 with C++11 support, and some libraries are
compiled by g++11.1.0 with C++14 support.

And I have to use newer g++ which supports C++17 to compile my
project. I intend to use g++11.3.0 on Ubuntu20.4.

Is there any potential problem I should be aware of when linking to
dynamic libraries compiled by the said old version g++ ?

             reply	other threads:[~2022-11-07  2:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07  2:10 孙世龙 [this message]
2022-11-07 13:02 ` Jonathan Wakely
2022-11-08  3:03   ` 孙世龙

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAvDm6YXKxdxApX8p3gzB5moKNqrnmcxk4=ZXDRHdw6UZFLdOA@mail.gmail.com' \
    --to=sunshilong369@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).