1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/gcc5
Dimitry Andric 3f6545049c Fix builds of lang/gcc{48,49,5} with clang 6.0.0
Since clang++ 6.0.0 now defaults to -std=gnu++14 (similar to g++ 6 and
higher), building gcc48, gcc49 or gcc5 produce quite a number of
"invalid suffix on literal; C++11 requires a space between literal and
identifier" errors.  This is because in many places, double quotes are
directly followed by printf helper macros like HOST_WIDE_INT_PRINT.

In gcc 6 and later, spaces were added between the double quotes and the
macros, to fix this issue, but for earlier versions, use a combination
of find, grep and sed to add them mechanically throughout the respective
source trees.

In addition, gcc5 needs a regular patch to fix an incorrect call to
error(), which should have been error_at().  (This was a mismerge by
upstream.)

Approved by:	gerald (maintainer)
PR:		224927
MFH:		2018Q1
2018-01-09 22:08:45 +00:00
..
files Fix builds of lang/gcc{48,49,5} with clang 6.0.0 2018-01-09 22:08:45 +00:00
distinfo Update to the GCC 5.5 release. This brings more than 250 final bug 2017-10-11 14:35:28 +00:00
Makefile Fix builds of lang/gcc{48,49,5} with clang 6.0.0 2018-01-09 22:08:45 +00:00
pkg-descr Now that the default version of GCC in the tree is GCC 6 (the lang/gcc6 2017-09-21 20:38:38 +00:00
pkg-plist Merge revisions 437281 2017-10-11 14:49:22 +00:00