noreply at rubyforge.org
2008-Jan-02 10:47 UTC
[wxruby-development] [ wxruby-Bugs-16760 ] src/XmlResource.h:19: error: expected class-name before '', '' token
Bugs item #16760, was opened at 2008-01-02 05:47 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16760&group_id=35 Category: None Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: src/XmlResource.h:19: error: expected class-name before '','' token Initial Comment: The following bug applies to both wxruby-1.9.1 andwxruby-1.9.2 tarballs. g++ -c -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O -march=athlon-xp -pipe -fPIC -Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I /usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I /usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -I /bld/dev/wxruby-1.9.1/doc/lib -o obj/XmlResource.o src/XmlResource.cpp (in /bld/dev/wxruby-1.9.1) In file included from src/XmlResource.cpp:2128: src/XmlResource.h:19: error: expected class-name before '','' token src/XmlResource.h:22: error: ''wxXRC_USE_LOCALE'' was not declared in this scope src/XmlResource.h:23: error: ''wxXRC_USE_LOCALE'' was not declared in this scope src/XmlResource.cpp: In constructor ''SwigDirector_wxXmlResource::SwigDirector_wxXmlResource(VALUE, int)'': src/XmlResource.cpp:2130: error: class ''SwigDirector_wxXmlResource'' does not have any field named ''wxXmlResource'' src/XmlResource.cpp: In constructor ''SwigDirector_wxXmlResource::SwigDirector_wxXmlResource(VALUE, const wxString&, int)'': src/XmlResource.cpp:2136: error: class ''SwigDirector_wxXmlResource'' does not have any field named ''wxXmlResource'' src/XmlResource.cpp: In function ''VALUE _wrap_new_wxXmlResource__SWIG_0(int, VALUE*, VALUE)'': src/XmlResource.cpp:2151: error: ''wxXRC_USE_LOCALE'' was not declared in this scope src/XmlResource.cpp:2152: error: ''wxXmlResource'' was not declared in this scope src/XmlResource.cpp:2152: error: ''result'' was not declared in this scope src/XmlResource.cpp:2170: error: expected primary-expression before '')'' token src/XmlResource.cpp:2170: error: expected `;'' before ''new'' src/XmlResource.cpp:2172: error: expected primary-expression before '')'' token src/XmlResource.cpp:2172: error: expected `;'' before ''new'' src/XmlResource.cpp: In function ''VALUE _wrap_new_wxXmlResource__SWIG_1(int, VALUE*, VALUE)'': src/XmlResource.cpp:2203: error: ''wxXRC_USE_LOCALE'' was not declared in this scope src/XmlResource.cpp:2204: error: ''wxXmlResource'' was not declared in this scope src/XmlResource.cpp:2204: error: ''result'' was not declared in this scope src/XmlResource.cpp:2223: error: expected primary-expression before '')'' token src/XmlResource.cpp:2223: error: expected `;'' before ''new'' src/XmlResource.cpp:2225: error: expected primary-expression before '')'' token src/XmlResource.cpp:2225: error: expected `;'' before ''new'' src/XmlResource.cpp: At global scope: src/XmlResource.cpp: At global scope: src/XmlResource.cpp:2293: error: variable or field ''free_wxXmlResource'' declared void src/XmlResource.cpp:2293: error: ''wxXmlResource'' was not declared in this scope src/XmlResource.cpp:2293: error: ''arg1'' was not declared in this scope src/XmlResource.cpp: In function ''VALUE _wrap_wxXmlResource_Load(int, VALUE*, VALUE)'': --- clip ---- Command failed with status (1): [g++ -c -I/usr/lib/wx/include/gtk2-unicod...] (See full trace by running task with --trace) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16760&group_id=35
Seemingly Similar Threads
- [1099] trunk/wxruby2/swig/classes/XmlResource.i: Permit Dialogs and Frames with no parents to be created via XRC; add comments
- [962] branches/wxruby2/wxwidgets_282/doc/textile/xmlresource.txtl: Fixed the documentation for load_*_subclass, where * is [Dialog, Panel, Frame].
- [1098] trunk/wxruby2: Test return value from XmlResource#load and raise an exception on failure
- Patch to move XmlResource back to classes
- Patch for wxRuby2