[Bug c++/81107] operator new(size_t) can't have hidden visibility

2019-01-17 Thread thomasanderson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81107 --- Comment #1 from Thomas Anderson --- Clang solved this recently by adding a -fvisibility-global-new-delete-hidden option: https://reviews.llvm.org/D53787

[Bug c++/83931] Add support for -nostdlib++

2018-01-18 Thread thomasanderson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83931 --- Comment #2 from Thomas Anderson --- From the LLVM CL description: Alternatively, they could use clang instead of clang++, but that already disables implicit addition of -lm on some toolchains. Not sure if this is the same for gcc though.

[Bug c++/83931] New: Add support for -nostdlib++

2018-01-18 Thread thomasanderson at google dot com
: unassigned at gcc dot gnu.org Reporter: thomasanderson at google dot com Target Milestone: --- Projects that want to link their own c++ standard library must currently pass -nostdlib or -nodefaultlibs. This means projects must add back -lm, -lc and so on. -nostdlib++ should be added

[Bug c++/81347] New: g++ confused by namespaces and friend classes

2017-07-06 Thread thomasanderson at google dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: thomasanderson at google dot com Target Milestone: --- Created attachment 41695 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41695&action=edit Preprocessed test.cpp Compile test.cpp below using libc++

[Bug c++/81107] New: operator new(size_t) can't have hidden visibility

2017-06-15 Thread thomasanderson at google dot com
onent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thomasanderson at google dot com Target Milestone: --- Created attachment 41559 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41559&action=edit test.cpp Compile the attached test.cpp with $ g++ -fvisib