SCIENTIFIC-LINUX-USERS Archives

June 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Elmer <[log in to unmask]>
Reply To:
Peter Elmer <[log in to unmask]>
Date:
Thu, 26 Jun 2014 07:17:15 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
  Hi,

On Wed, Jun 25, 2014 at 10:03:54PM -0700, ToddAndMargo wrote:
> rpmbuild --rebuild librecad-2.0.4-1.fc20.src.rpm
> ...
> cc1plus: error: unrecognized command line option
> "-std=c++11"cc1plus: error: unrecognized command line option
> "-std=c++11"

  It means that you are rebuilding a package with a compiler version
which is too old to support the -std=c++11 flag. (IIRC, it was -std=c++0x
for a long time in gcc. I don't recall which gcc version added the new
flag, but almost certainly it was later than gcc4.4, for example.) I guess 
you are backporting this package? 

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------

ATOM RSS1 RSS2