Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 21:44:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 213768] editors/libreoffice: Fix build with lang/gcc5 on 11.0-RELEASE
Message-ID:  <bug-213768-25061-aB6lgwOJ2g@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213768-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213768-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213768

--- Comment #21 from Kenneth Salerno <kennethsalerno@yahoo.com> ---
(In reply to Jung-uk Kim from comment #20)
Ok, I could test with -include cstdio instead. It should already be included
for every preprocess, that's one of the two major problems here with the gc=
c5
port.

The first problem is that the lang/gcc5 includes for C++ seem to be missing=
 a
lot of things the system /usr/include/c++/v1 have, things that should be
brought in as internal includes for named includes in the source, which is =
why
I need to explicitely include stdio/cstdio here.

The second problem is g++5 expects C99 defined to enter the include bodies,
which is addressed in the patch as well.

If the supported compiler for x86 ports is clang, what's the harm in this p=
atch
as part of the if !clang? At worst it's redundant for other arches with a
supported g++.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213768-25061-aB6lgwOJ2g>