Skip to content

Instantly share code, notes, and snippets.

@drewwells
Created January 22, 2015 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewwells/ea7063395959a9154172 to your computer and use it in GitHub Desktop.
Save drewwells/ea7063395959a9154172 to your computer and use it in GitHub Desktop.
libsass build with Swig on darwin64 against Go 1.4
Applications/Xcode.app/Contents/Developer/usr/bin/make -f ../../Makefile CXXFLAGS='-Wall -std=c++11' SRCDIR='' CSRCS='cencode.c' CXXSRCS='ast.cxx base64vlq.cxx bind.cxx constants.cxx context.cxx contextualize.cxx copy_c_str.cxx cssize.cxx error_handling.cxx eval.cxx expand.cxx extend.cxx file.cxx functions.cxx inspect.cxx node.cxx json.cxx output_compressed.cxx output_nested.cxx parser.cxx position.cxx prelexer.cxx remove_placeholders.cxx sass.cxx sass_util.cxx sass_values.cxx sass_context.cxx sass_functions.cxx sass_interface.cxx sass2scss.cxx source_map.cxx to_c.cxx to_string.cxx units.cxx utf8_string.cxx util.cxx' SWIG='../../../preinst-swig -v' \
TARGET='example' INTERFACE='example.i' go_cpp
../../../preinst-swig -v -go -c++ -intgosize 64 `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i
Language subdirectory: go
Search paths:
./
./swig_lib/go/
/Users/drew/code/swig/Lib/go/
./swig_lib/
/Users/drew/code/swig/Lib/
Preprocessing...
Starting language-specific parse...
ast.hpp:105: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:122: Warning 317: Specialization of non-template 'hash'.
ast.hpp:130: Warning 317: Specialization of non-template 'equal_to'.
ast.hpp:742: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:792: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1124: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1259: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1297: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1352: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1405: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
ast.hpp:1585: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
error_handling.hpp:16: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
json.hpp:66: Warning 312: Nested union not currently supported (ignored).
memory_manager.hpp:48: Warning 350: operator new ignored
memory_manager.hpp:55: Warning 351: operator delete ignored
node.hpp:48: Warning 314: 'type' is a Go keyword, renaming to 'Xtype'
parser.hpp:23: Error: Nothing known about namespace 'Prelexer'
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
prelexer.hpp:24: Warning 302: Identifier 'exactly' redefined (ignored),
prelexer.hpp:16: Warning 302: previous definition of 'exactly'.
prelexer.hpp:38: Warning 302: Identifier 'class_char' redefined (ignored),
prelexer.hpp:30: Warning 302: previous definition of 'class_char'.
prelexer.hpp:54: Warning 302: Identifier 'class_chars' redefined (ignored),
prelexer.hpp:46: Warning 302: previous definition of 'class_chars'.
prelexer.hpp:98: Warning 302: Identifier 'delimited_by' redefined (ignored),
prelexer.hpp:84: Warning 302: previous definition of 'delimited_by'.
prelexer.hpp:149: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:158: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:168: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:178: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:192: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:206: Warning 302: Identifier 'alternatives' redefined (ignored),
prelexer.hpp:141: Warning 302: previous definition of 'alternatives'.
prelexer.hpp:222: Warning 302: Identifier 'sequence' redefined (ignored),
prelexer.hpp:214: Warning 302: previous definition of 'sequence'.
prelexer.hpp:231: Warning 302: Identifier 'sequence' redefined (ignored),
prelexer.hpp:214: Warning 302: previous definition of 'sequence'.
prelexer.hpp:243: Warning 302: Identifier 'sequence' redefined (ignored),
prelexer.hpp:214: Warning 302: previous definition of 'sequence'.
prelexer.hpp:255: Warning 302: Identifier 'sequence' redefined (ignored),
prelexer.hpp:214: Warning 302: previous definition of 'sequence'.
prelexer.hpp:269: Warning 302: Identifier 'sequence' redefined (ignored),
prelexer.hpp:214: Warning 302: previous definition of 'sequence'.
prelexer.hpp:352: Warning 314: 'import' is a Go keyword, renaming to 'Ximport'
prelexer.hpp:493: Warning 302: Identifier 'find_first' redefined (ignored),
prelexer.hpp:488: Warning 302: previous definition of 'find_first'.
prelexer.hpp:525: Warning 302: Identifier 'count_interval' redefined (ignored),
prelexer.hpp:510: Warning 302: previous definition of 'count_interval'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
Processing types...
ast.hpp:281: Warning 401: Nothing known about base class 'Vectorized< Statement * >'. Ignored.
ast.hpp:281: Warning 401: Maybe you forgot to instantiate 'Vectorized< Statement * >' using %template.
ast.hpp:728: Warning 401: Nothing known about base class 'Vectorized< Expression * >'. Ignored.
ast.hpp:728: Warning 401: Maybe you forgot to instantiate 'Vectorized< Expression * >' using %template.
ast.hpp:919: Warning 401: Nothing known about base class 'Vectorized< Argument * >'. Ignored.
ast.hpp:919: Warning 401: Maybe you forgot to instantiate 'Vectorized< Argument * >' using %template.
ast.hpp:1344: Warning 401: Nothing known about base class 'Vectorized< Expression * >'. Ignored.
ast.hpp:1344: Warning 401: Maybe you forgot to instantiate 'Vectorized< Expression * >' using %template.
ast.hpp:1440: Warning 401: Nothing known about base class 'Vectorized< Media_Query_Expression * >'. Ignored.
ast.hpp:1440: Warning 401: Maybe you forgot to instantiate 'Vectorized< Media_Query_Expression * >' using %template.
ast.hpp:1471: Warning 401: Nothing known about base class 'Vectorized< Feature_Query_Condition * >'. Ignored.
ast.hpp:1471: Warning 401: Maybe you forgot to instantiate 'Vectorized< Feature_Query_Condition * >' using %template.
ast.hpp:1482: Warning 401: Nothing known about base class 'Vectorized< Feature_Query_Condition * >'. Ignored.
ast.hpp:1482: Warning 401: Maybe you forgot to instantiate 'Vectorized< Feature_Query_Condition * >' using %template.
ast.hpp:1640: Warning 401: Nothing known about base class 'Vectorized< Parameter * >'. Ignored.
ast.hpp:1640: Warning 401: Maybe you forgot to instantiate 'Vectorized< Parameter * >' using %template.
ast.hpp:1873: Warning 401: Nothing known about base class 'Vectorized< Simple_Selector * >'. Ignored.
ast.hpp:1873: Warning 401: Maybe you forgot to instantiate 'Vectorized< Simple_Selector * >' using %template.
ast.hpp:2033: Warning 401: Nothing known about base class 'Vectorized< Complex_Selector * >'. Ignored.
ast.hpp:2033: Warning 401: Maybe you forgot to instantiate 'Vectorized< Complex_Selector * >' using %template.
contextualize.hpp:28: Warning 401: Nothing known about base class 'Operation_CRTP< Selector *,Contextualize >'. Ignored.
contextualize.hpp:28: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< Selector *,Contextualize >' using %template.
contextualize.hpp:44: Warning 315: Nothing known about 'Operation< Sass::Selector * >::operator ()'.
cssize.hpp:18: Warning 401: Nothing known about base class 'Operation_CRTP< Statement *,Cssize >'. Ignored.
cssize.hpp:18: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< Statement *,Cssize >' using %template.
cssize.hpp:32: Warning 315: Nothing known about 'Operation< Sass::Statement * >::operator ()'.
environment.hpp:12: Warning 315: Nothing known about 'std::map'.
environment.hpp:13: Warning 315: Nothing known about 'std::cerr'.
environment.hpp:14: Warning 315: Nothing known about 'std::endl'.
eval.hpp:18: Warning 401: Nothing known about base class 'Operation_CRTP< Expression *,Eval >'. Ignored.
eval.hpp:18: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< Expression *,Eval >' using %template.
eval.hpp:30: Warning 315: Nothing known about 'Operation< Sass::Expression * >::operator ()'.
expand.hpp:21: Warning 401: Nothing known about base class 'Operation_CRTP< Statement *,Expand >'. Ignored.
expand.hpp:21: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< Statement *,Expand >' using %template.
expand.hpp:41: Warning 315: Nothing known about 'Operation< Sass::Statement * >::operator ()'.
extend.hpp:20: Warning 401: Nothing known about base class 'Operation_CRTP< void,Extend >'. Ignored.
extend.hpp:20: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< void,Extend >' using %template.
extend.hpp:31: Warning 315: Nothing known about 'Operation< void >::operator ()'.
inspect.hpp:14: Warning 401: Nothing known about base class 'Operation_CRTP< void,Inspect >'. Ignored.
inspect.hpp:14: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< void,Inspect >' using %template.
output_compressed.hpp:11: Warning 401: Nothing known about base class 'Output< Output_Compressed >'. Ignored.
output_compressed.hpp:11: Warning 401: Maybe you forgot to instantiate 'Output< Output_Compressed >' using %template.
output_nested.hpp:11: Warning 401: Nothing known about base class 'Output< Output_Nested >'. Ignored.
output_nested.hpp:11: Warning 401: Maybe you forgot to instantiate 'Output< Output_Nested >' using %template.
parser.hpp:21: Warning 315: Nothing known about 'std::vector'.
parser.hpp:22: Warning 315: Nothing known about 'std::map'.
parser.hpp:25: Warning 401: Base class 'ParserState' undefined.
position.hpp:59: Warning 401: 'ParserState' must be defined before it is used as a base class.
remove_placeholders.hpp:17: Warning 401: Nothing known about base class 'Operation_CRTP< void,Remove_Placeholders >'. Ignored.
remove_placeholders.hpp:17: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< void,Remove_Placeholders >' using %template.
remove_placeholders.hpp:27: Warning 315: Nothing known about 'Sass::Operation< void >::operator ()'.
source_map.hpp:11: Warning 315: Nothing known about 'std::vector'.
to_c.hpp:18: Warning 401: Nothing known about base class 'Operation_CRTP< Sass_Value *,To_C >'. Ignored.
to_c.hpp:18: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< Sass_Value *,To_C >' using %template.
to_c.hpp:26: Warning 315: Nothing known about 'Sass::Operation< Sass_Value * >::operator ()'.
to_string.hpp:14: Warning 401: Nothing known about base class 'Operation_CRTP< string,To_String >'. Ignored.
to_string.hpp:14: Warning 401: Maybe you forgot to instantiate 'Operation_CRTP< string,To_String >' using %template.
C++ analysis...
Processing nested classes...
Generating wrappers...
ast.hpp:103: Warning 503: Can't wrap 'operator bool' unless renamed to a valid identifier.
ast.hpp:109: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:221: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier.
ast.hpp:236: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
ast.hpp:299: Warning 504: Function Sass::Block::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:329: Warning 504: Function Sass::Ruleset::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:342: Warning 504: Function Sass::Propset::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:356: Warning 504: Function Sass::Bubble::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:381: Warning 504: Function Sass::Media_Block::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:396: Warning 504: Function Sass::Feature_Block::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:418: Warning 504: Function Sass::At_Rule::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:430: Warning 504: Function Sass::Keyframe_Rule::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:445: Warning 504: Function Sass::Declaration::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:465: Warning 504: Function Sass::Assignment::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:482: Warning 504: Function Sass::Import::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:491: Warning 504: Function Sass::Import_Stub::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:503: Warning 504: Function Sass::Warning::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:515: Warning 504: Function Sass::Error::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:527: Warning 504: Function Sass::Debug::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:539: Warning 504: Function Sass::Comment::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:553: Warning 504: Function Sass::If::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:570: Warning 504: Function Sass::For::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:583: Warning 504: Function Sass::Each::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:595: Warning 504: Function Sass::While::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:607: Warning 504: Function Sass::Return::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:619: Warning 504: Function Sass::Extension::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:636: Warning 504: Function Sass::Definition::ADD_PROPERTY(std::string,name) must have a return type. Ignored.
ast.hpp:637: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass::Parameters *,parameters) must have a return type. Ignored.
ast.hpp:638: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass::Env *,environment) must have a return type. Ignored.
ast.hpp:639: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass::Definition::Type,type) must have a return type. Ignored.
ast.hpp:640: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass::Native_Function,native_function) must have a return type. Ignored.
ast.hpp:641: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass_C_Function,c_function) must have a return type. Ignored.
ast.hpp:642: Warning 504: Function Sass::Definition::ADD_PROPERTY(void *,cookie) must have a return type. Ignored.
ast.hpp:643: Warning 504: Function Sass::Definition::ADD_PROPERTY(bool,is_overload_stub) must have a return type. Ignored.
ast.hpp:644: Warning 504: Function Sass::Definition::ADD_PROPERTY(Sass::Signature,signature) must have a return type. Ignored.
ast.hpp:698: Warning 504: Function Sass::Definition::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:712: Warning 504: Function Sass::Mixin_Call::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:721: Warning 504: Function Sass::Content::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:763: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:777: Warning 504: Function Sass::List::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:811: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:823: Warning 504: Function Sass::Map::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:850: Warning 504: Function Sass::Binary_Expression::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:866: Warning 504: Function Sass::Unary_Expression::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:900: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:911: Warning 504: Function Sass::Argument::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:964: Warning 504: Function Sass::Arguments::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:999: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1012: Warning 504: Function Sass::Function_Call::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1025: Warning 504: Function Sass::Function_Call_Schema::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1050: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1057: Warning 504: Function Sass::Variable::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1089: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1097: Warning 504: Function Sass::Textual::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1232: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1240: Warning 504: Function Sass::Number::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1274: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1282: Warning 504: Function Sass::Color::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1296: Warning 503: Can't wrap 'operator bool' unless renamed to a valid identifier.
ast.hpp:1313: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1321: Warning 504: Function Sass::Boolean::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1370: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1382: Warning 504: Function Sass::String_Schema::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1420: Warning 503: Can't wrap 'operator ==' unless renamed to a valid identifier.
ast.hpp:1433: Warning 504: Function Sass::String_Constant::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1450: Warning 504: Function Sass::Media_Query::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1465: Warning 504: Function Sass::Media_Query_Expression::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1476: Warning 504: Function Sass::Feature_Query::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1496: Warning 504: Function Sass::Feature_Query_Condition::ATTACH_OPERATIONS() must have a return type. Ignored.
ast.hpp:1539: Warning 504: Function Sass::At_Root_Expression::ATTACH_OPERATIONS() must have a return type. Ignored.
^Cmake[1]: *** [go_cpp] Interrupt: 2
make: *** [build] Interrupt: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment