Opened 13 years ago
Last modified 13 years ago
#31775 closed defect
wxWidgets @2.8.12 not compiling with llvm from Xcode 4.2 — at Version 1
Reported by: | philippe.bernery@… | Owned by: | jwa@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | |
Port: | wxWidgets |
Description (last modified by mf2k (Frank Schima))
Here is an exract of the error:
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build/bk-deps /Developer/usr/bin/clang++ -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -c -o coredll_carbon_graphics.o -I./.pch/wxprec_coredll -D__WXMAC__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build/lib/wx/include/mac-unicode-release-2.8 -I../include -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -I/opt/local/include -arch i386 -I/opt/local/include -DWX_PRECOMP -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch i386 -fno-common ../src/mac/carbon/graphics.cpp clang: warning: argument unused during compilation: '-no-cpp-precomp' In file included from ../src/mac/carbon/graphics.cpp:27: In file included from ../include/wx/mac/uma.h:4: In file included from ../include/wx/mac/carbon/uma.h:15: In file included from ../include/wx/mac/private.h:4: ../include/wx/mac/carbon/private.h:617:18: warning: unused variable 'err' [-Wunused-variable] OSStatus err = GetData<T>( inPartCode , inTag , &value ); ^ ../include/wx/mac/carbon/private.h:1375:16: warning: 'QDGetPictureBounds' is deprecated [-Wdeprecated-declarations] return QDGetPictureBounds( pict , rect ); ^ ../src/mac/carbon/graphics.cpp:751:14: warning: 'ATSUCreateAndCopyStyle' is deprecated [-Wdeprecated-declarations] status = ATSUCreateAndCopyStyle( (ATSUStyle) font.MacGetATSUStyle() , &m_macATSUIStyle ); ^ ../src/mac/carbon/graphics.cpp:775:16: warning: 'ATSUSetAttributes' is deprecated [-Wdeprecated-declarations] status = ::ATSUSetAttributes( ^ ../src/mac/carbon/graphics.cpp:786:11: warning: 'ATSUDisposeStyle' is deprecated [-Wdeprecated-declarations] ::ATSUDisposeStyle((ATSUStyle)m_macATSUIStyle); ^ ../src/mac/carbon/graphics.cpp:1072:74: error: redefinition of parameter 'y' virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble *w, wxDouble *y) const; ^ ../src/mac/carbon/graphics.cpp:1072:48: note: previous declaration is here virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble *w, wxDouble *y) const; ^ ../src/mac/carbon/graphics.cpp:1099:12: error: cannot initialize return object of type 'wxGraphicsObjectRefData *' with an lvalue of type 'wxMacCoreGraphicsPathData *' return clone ;
The package compiles when using llvm-gcc-4.2 as the compiler.
Change History (1)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jwa@… |
Port: | wxWidgets added |
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting, fill in the Port field and Cc the maintainer.