g++-12
blj05290 <[email protected]> Tue, 18 Feb 2025 14:44:56 +0100
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Since installing Sequoia and the new Xcode I can no longer compile with g++-12. I get a very long list of compiler errors, starting with:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wchar.h:90,
from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:67,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/cwchar:44,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/bits/postypes.h:40,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/iosfwd:40,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/ios:38,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/ostream:38,
from /opt/sw2/lib/gcc12/include/c++/12.2.0/iostream:39,
from SU3pg4dMC.cpp:4:
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:81:8: error: ‘FILE’ does not name a type
81 | extern FILE *__stdinp;
| ^~~~
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:79:1: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
78 | #include <_stdio.h>
+++ |+#include <cstdio>
79 |
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:82:8: error: ‘FILE’ does not name a type
82 | extern FILE *__stdoutp;
| ^~~~
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:82:8: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:83:8: error: ‘FILE’ does not name a type
83 | extern FILE *__stderrp;
| ^~~~
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:83:8: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:156:10: error: variable or field ‘clearerr’ declared void
156 | void clearerr(FILE *);
| ^~~~~~~~
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:156:19: error: ‘FILE’ was not declared in this scope
156 | void clearerr(FILE *);
| ^~~~
/opt/sw2/lib/gcc12/lib/gcc/x86_64-apple-darwin22.6.0/12.2.0/include-fixed/stdio.h:156:19: note: ‘FILE’ is defined in header ‘<
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users