[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to fix symbols files to work with gcc-7 and gcc-8 (Was: Bug#897794: libquazip: ftbfs with GCC-8)



Yavor,

On Fri, May 04, 2018 at 04:06:05PM +0300, Yavor Doganov wrote:
> Andreas Tille wrote:
> > What's the correct way to fix the symbols file to work with both
> > versions of gcc?
> 
> Don't use symbols files for C++ libraries?

Please do not advocate nor recommend such pointless stands.

Yes, C++ symbols are harder to track than C symbols.
Yes, C++ symbols handling requires more work than doing C symbols.
Yes, many C++ libraries do a very horrible job at ABI maintenance that
for them maintaining a symbols file is impossible.
No, it's not impossible to maintain a symbols file for a C++ library.
Yes, for decent libraries it's totally feasible also for mere humans.

Guess what, C++ is more complex than C.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: