Open nloveladyallen opened 7 years ago
No problems building here with latest xcode 8.3.3 and gcc8.1.0
On Wed, Sep 27, 2017 at 10:11 AM, Noah Lovelady-Allen < notifications@github.com> wrote:
$ ./install.bat git:master Compiling:blitz_app.c In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0, from /System/Library/Frameworks/Security.framework/Headers/Security.h:43, from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43, from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27, from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23, from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39, from /Users/noah/src/blitzmax/mod/brl.mod/blitz.mod/blitz_app.c:66: /System/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope char bytes[kAuthorizationExternalFormLength]; ^~~~~ Build Error: failed to compile /Users/noah/src/blitzmax/mod/brl.mod/blitz.mod/blitz_app.cCompiling:blitz_app.c In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0, from /System/Library/Frameworks/Security.framework/Headers/Security.h:43, from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43, from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27, from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23, from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39, from /Users/noah/src/blitzmax/mod/brl.mod/blitz.mod/blitz_app.c:66: /System/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope char bytes[kAuthorizationExternalFormLength]; ^~~~~ Build Error: failed to compile /Users/noah/src/blitzmax/mod/brl.mod/blitz.mod/blitz_app.cCompiling:maxide.bmx Compile Error: Can't find interface for module 'brl.blitz' [/Users/noah/src/blitzmax/_src/macos_x86/../../mod/brl.mod/blitz.mod/blitz_classes.i;73;1] Build Error: failed to compile /Users/noah/src/blitzmax/src/maxide/maxide.bmxCompiling:bmk_config.bmx Compile Error: Can't find interface for module 'brl.blitz' [/Users/noah/src/blitzmax/_src/macos_x86/../../mod/brl.mod/blitz.mod/blitz_classes.i;73;1] Build Error: failed to compile /Users/noah/src/blitzmax/src/bmk/bmk_config.bmxCompiling:stdutil.cpp In file included from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2:0: /Users/noah/src/blitzmax/_src/compiler/stdutil.h:39:21: error: 'int isnan(double)' conflicts with a previous declaration int isnan( double n ); ^ In file included from /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/math.h:36:0, from /Users/noah/src/blitzmax/_src/compiler/stdutil.h:12, from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2: /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:626:3: note: previous declaration 'constexpr bool std::isnan(double)' isnan(double x) ^~~~~ In file included from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2:0: /Users/noah/src/blitzmax/_src/compiler/stdutil.h:40:21: error: 'int isinf(double)' conflicts with a previous declaration int isinf( double n ); ^ In file included from /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/math.h:36:0, from /Users/noah/src/blitzmax/_src/compiler/stdutil.h:12, from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2: /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:599:3: note: previous declaration 'constexpr bool std::isinf(double)' isinf(double x) ^~~~~ /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp: In function 'std::cxx11::string fromdouble(double)': /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:454:13: error: call of overloaded 'isnan(double&)' is ambiguous if( isnan(n) ){ ^ In file included from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2:0: /Users/noah/src/blitzmax/_src/compiler/stdutil.h:39:5: note: candidate: int isnan(double) int isnan( double n ); ^~~~~ In file included from /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/math.h:36:0, from /Users/noah/src/blitzmax/_src/compiler/stdutil.h:12, from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2: /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:631:3: note: candidate: constexpr bool std::isnan(long double) isnan(long double x) ^~~~~ /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:626:3: note: candidate: constexpr bool std::isnan(double) isnan(double x) ^~~~~ /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:618:3: note: candidate: constexpr bool std::isnan(float) isnan(float __x) ^~~~~ /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:456:19: error: call of overloaded 'isinf(double&)' is ambiguous }else if( isinf(n) ){ ^ In file included from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2:0: /Users/noah/src/blitzmax/_src/compiler/stdutil.h:40:5: note: candidate: int isinf(double) int isinf( double n ); ^~~~~ In file included from /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/math.h:36:0, from /Users/noah/src/blitzmax/_src/compiler/stdutil.h:12, from /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp:2: /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:604:3: note: candidate: constexpr bool std::isinf(long double) isinf(long double x) ^~~~~ /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:599:3: note: candidate: constexpr bool std::isinf(double) isinf(double x) ^~~~~ /usr/local/Cellar/gcc/7.2.0/include/c++/7.2.0/cmath:591:3: note: candidate: constexpr bool std::isinf(float) isinf(float x) ^~~~~ Build Error: failed to compile /Users/noah/src/blitzmax/_src/compiler/stdutil.cpp%
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blitz-research/blitzmax/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ADU3QhWX6Fxhz5nbY4d-xj676QGWuAYgks5smWhrgaJpZM4Pk47_ .
Hi, I had a similar problem with blitz_app.c on macOS and on Windows. The problem arises when you delete all the .i and .a files and compile everything from scratch. I saw on a forum that this could be a linking order problem? http://mojolabs.nz/posts.php?topic=88410