All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Yocto discussion list <yocto@yoctoproject.org>
Subject: solve gcc-5.0.0 build errors with "-P" option to cpp?
Date: Thu, 19 Feb 2015 04:39:35 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.11.1502190435010.20590@localhost> (raw)


  as i mentioned recently, using fedora rawhide and having recently
upgraded to gcc-5.0.0, some packages (eg., ncurses-native) failed to
build for this reason:

 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723

toward the bottom (comment 27), jakub jelinek suggests the solution of
simply telling people to preprocess with "-P", which inhibits the
generation of line markers.

  so i just added a wide-sweeping:

CPPFLAGS_append = " -P"

to my local.conf and, sure enough, that got around the build error(s).
is that the best workaround for the time being until this weirdness
with gcc-5.0.0 is fixed?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


                 reply	other threads:[~2015-02-19  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.LFD.2.11.1502190435010.20590@localhost \
    --to=rpjday@crashcourse.ca \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.