unknown flag error?

Jose Mustre-del-Rio jmustred@troi.cc.rochester.edu
Tue Apr 17 02:29:00 GMT 2007


I am trying to compile a bunch of files that have previously been 
tested elsewhere (so I know they are ok).

When I type
g++ -o prog  <my files>
I get the following output


In file included from 
/usr/local/lib/gcc/powerpc-apple-darwin8.6.0/4.2.0/../../../../include/c++/4.2.0/backward/iomanip.h:31,
                  from Array.h:13:
/usr/local/lib/gcc/powerpc-apple-darwin8.6.0/4.2.0/../../../../include/c++/4.2.0/backward/backward_warning.h:32:2: 
warning: #warning This file includes at least one deprecated or 
antiquated header. Please consider using one of the 32 headers found 
in section 17.4.1.2 of the C++ standard. Examples include 
substituting the <X> header for the <X.h> header for C++ includes, or 
<iostream> instead of the deprecated header <iostream.h>. To disable 
this warning use -Wno-deprecated.
getV0.h:19:48: warning: no newline at end of file
/usr/bin/ld: unknown flag: -macosx_version_min
collect2: ld returned 1 exit status



I think the warnings are unimportant however I do not know where this 
"unknown flag" is coming from.

I would appreciate any suggestions.

Thanks,
Jose



More information about the Gcc-help mailing list