Changes between Initial Version and Version 1 of Ticket #53251


Ignore:
Timestamp:
Jan 8, 2017, 12:51:49 PM (8 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53251

    • Property Summary changed from faust2-devel: requires C++11 to faust2-devel: requires libc++
  • Ticket #53251 – Description

    initial v1  
     1On libstdc++ installation faust2-devel links against libc++. I didn't try to investigate any further, but most likely it requires C++11.
     2
    13See: https://github.com/macports/macports-ports/pull/138
     4
     5{{{
     6/usr/bin/clang++ -arch x86_64 -O3 -Wall -Wuninitialized -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils -I../libraries -Igenerator -Igenerator/asmjs -Igenerator/c -Igenerator/cpp -Igenerator/java -Igenerator/js -Igenerator/llvm -Igenerator/fir -Igenerator/wasm -Igenerator/interpreter -DINSTALL_PREFIX='"/opt/local"' -O3 -stdlib=libc++ -Wall -Wuninitialized -fvisibility=hidden -Wno-overloaded-virtual -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils -I../libraries -Igenerator -Igenerator/asmjs -Igenerator/c -Igenerator/cpp -Igenerator/java -Igenerator/js -Igenerator/llvm -Igenerator/fir -Igenerator/wasm -Igenerator/interpreter -DINSTALL_PREFIX='"/opt/local"' -I`/opt/local/libexec/llvm-3.4/bin/llvm-config --includedir` -I../architecture -DLLVM_34 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -arch x86_64   -c -o generator/wasm/wasm_code_container.o generator/wasm/wasm_code_container.cpp
     7In file included from generator/wasm/wasm_code_container.cpp:22:
     8In file included from generator/wasm/wasm_code_container.hh:26:
     9In file included from generator/wasm/wasm_instructions.hh:29:
     10generator/wasm/was_instructions.hh:75:44: error: expected a class or namespace
     11        :fMode(mode), fName(name), fWasmOp(WasmOp::Dummy), fType(type), fArgs(args)
     12                                           ^
     13generator/wasm/was_instructions.hh:97:57: error: expected a class or namespace
     14        fMathLibTable["abs"] = MathFunDesc(MathFunDesc::Gen::kExtMath, "abs", Typed::kInt, 1);
     15                                           ~~~~~~~~~~~~~^
     16generator/wasm/was_instructions.hh:98:59: error: expected a class or namespace
     17        fMathLibTable["min_i"] = MathFunDesc(MathFunDesc::Gen::kWAS, "min_i", Typed::kInt, 2);
     18                                             ~~~~~~~~~~~~~^
     19generator/wasm/was_instructions.hh:99:59: error: expected a class or namespace
     20        fMathLibTable["max_i"] = MathFunDesc(MathFunDesc::Gen::kWAS, "max_i", Typed::kInt, 2);
     21                                             ~~~~~~~~~~~~~^
     22generator/wasm/was_instructions.hh:102:59: error: expected a class or namespace
     23        fMathLibTable["fabsf"] = MathFunDesc(MathFunDesc::Gen::kWAS, "abs", WasmOp::F32Abs, Typed::kFloat, 1);
     24                                             ~~~~~~~~~~~~~^
     25}}}