Opened 3 months ago

Last modified 3 months ago

#61588 assigned defect

p5.28-wx: Build error on MacPorts 2.6.4 on Big Sur

Reported by: NozomuIshiguro (Nozomu Ishiguro) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: nomennudum (Roger Hayter)
Port: p5-wx

Description

From the log file (as follows):

--->  Building p5.28-wx
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932" && /usr/bin/make -j8 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932'
"/opt/local/bin/perl5.28" -MExtUtils::Command::MM -e 'cp_nonempty' -- Wx.bs blib/arch/auto/Wx/Wx.bs 644
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Wx.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Constant.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Controls.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Event.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Frames.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   GDI.c
/usr/bin/clang -c  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   Window.c
"/opt/local/bin/perl5.28" script/fix_alien_path.pl lib/Wx/Mini.pm blib/lib/Wx/Mini.pm
In file included from Constant.c:31:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/filedlg.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/dialog.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/toplevel.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/nonownedwnd.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/window.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/event.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
touch wxt_fix_alien
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932/ext'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932/ext/datetime'
"/opt/local/bin/perl5.28" -MExtUtils::Command::MM -e 'cp_nonempty' -- DateTime.bs ../../blib/arch/auto/Wx/DateTime/DateTime.bs 644
/usr/bin/clang -c -I. -I.. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -I. -I. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0   -I. -I../.. -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0  -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__    -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__   DateTime.c
In file included from Controls.c:23:
In file included from ./cpp/wxapi.h:170:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
In file included from Wx.c:32:
In file included from ./cpp/wxapi.h:170:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
In file included from Event.c:23:
In file included from ./cpp/wxapi.h:170:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from Frames.c:23:
In file included from ./cpp/wxapi.h:170In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
In file included from GDI.c:24:
In file included from ./cpp/wxapi.h:170:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: class wxCharBuffer : public wxCharTypeBuffer<char>error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: 
^
expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
In file included from Window.c:23:
In file included from ./cpp/wxapi.h:170:
In file included from ./cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
15                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from DateTime.c:23:
In file included from ../../cpp/wxapi.h:170:
In file included from ../../cpp/helpers.h:16:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strconv.h:17:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'
namespace wxPrivate
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:27:20: error: expected ';' after top level declarator
namespace wxPrivate
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:241:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:9: error: unknown type name 'wxScopedCharTypeBuffer'
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
        ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:242:31: error: expected identifier or '('
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
                              ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:246:10: error: expected identifier or '('
template <typename T>
         ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name 'class'
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:20: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                   ^
                   ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:22: error: unknown type name 'public'
class wxCharBuffer : public wxCharTypeBuffer<char>
                     ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:360:45: error: expected ';' after top level declarator
class wxCharBuffer : public wxCharTypeBuffer<char>
                                            ^
                                            ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name 'class'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:21: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                    ^
                    ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:23: error: unknown type name 'public'
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                      ^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:380:46: error: expected ';' after top level declarator
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
                                             ^
                                             ;
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:1: error: unknown type name 'template'
template <typename T>
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/buffer.h:398:10: error: expected identifier or '('
template <typename T>
         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
20 errors generated.
make: *** [Event.o] Error 1
make: *** Waiting for unfinished jobs....
make[2]: *** [DateTime.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932/ext/datetime'
make[1]: *** [subdirs] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932/ext'
make: *** [subdirs] Error 2
20 errors generated.
make: *** [Constant.o] Error 1
20 errors generated.
make: *** [Frames.o] Error 1
20 errors generated.
20 errors generated.
make: *** [Window.o] Error 1
make: *** [GDI.o] Error 1
20 errors generated.
make: *** [Controls.o] Error 1
20 errors generated.
make: *** [Wx.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/work/Wx-0.9932" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: Failed to build p5.28-wx: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-wx/p5.28-wx/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port p5.28-wx failed

Change History (3)

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Keywords: bigsur added; bigger removed
Owner: set to mojca
Port: p5-wx added; p5.28-wx removed
Status: newassigned

comment:2 Changed 3 months ago by nomennudum (Roger Hayter)

Cc: nomennudum added

comment:3 Changed 3 months ago by MaddTheSane (C.W. Betts)

It looks like C code is trying to import a C++ header.

Note: See TracTickets for help on using tickets.