[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc1plus warning
From: |
Graham Percival |
Subject: |
Re: cc1plus warning |
Date: |
Thu, 23 May 2013 17:03:10 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, May 24, 2013 at 01:48:26AM +0200, Mike Solomon wrote:
> I'm getting the following warning compiling on my new mac :
>
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
>
> Any ideas where that's coming from?
I'm guessing that your new mac (running 10.8?) is using clang++.
Since most people build lilypond with g++ and each compilers
handles arguments slightly differently, I'm not surprised this
happened.
Simple fix: do ../configure CXX=g++. I'm almost positive that
Apple still distributes gcc 4.2.1; it just isn't the default
compiler any more.
Cheers,
- Graham
- cc1plus warning, Mike Solomon, 2013/05/23
- Re: cc1plus warning,
Graham Percival <=