[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [PATCH] Compiling sc3-plugins for 10.9



after patching i got this error

Scanning dependencies of target TagSystemUgens
[ 97%] Building CXX object source/CMakeFiles/TagSystemUgens.dir/TagSystemUGens/TagSystemUgens.cpp.o
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:78:9: warning: 
      'GET_BUF' macro redefined
#define GET_BUF \
        ^
/Users/vnc/sc_dev/supercollider/include/plugin_interface/SC_Unit.h:251:9: note: 
      previous definition is here
#define GET_BUF \
        ^
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:221:43: warning: 
      format specifies type 'long' but the argument has type 'int32' (aka 'int')
      [-Wformat]
  ...printf("new axiom (index %ld..%ld): ", unit->m_read_pos, unit->m_write_pos);
                              ~~~           ^~~~~~~~~~~~~~~~
                              %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:221:61: warning: 
      format specifies type 'long' but the argument has type 'int32' (aka 'int')
      [-Wformat]
  ...printf("new axiom (index %ld..%ld): ", unit->m_read_pos, unit->m_write_pos);
                                   ~~~                        ^~~~~~~~~~~~~~~~~
                                   %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:429:59: warning: 
      format specifies type 'long' but the argument has type 'int' [-Wformat]
  ...if(recycle) { printf("recycling. axiom length: %ld\n", recycle); }
                                                    ~~~     ^~~~~~~
                                                    %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:451:45: warning: 
      format specifies type 'long' but the argument has type 'int' [-Wformat]
                        printf("recycling. axiom length: %ld\n", recycle);
                                                         ~~~     ^~~~~~~
                                                         %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:455:43: warning: 
      format specifies type 'long' but the argument has type 'int32' (aka 'int')
      [-Wformat]
  ...printf("new axiom (index %ld..%ld): ", unit->m_read_pos, unit->m_write_pos);
                              ~~~           ^~~~~~~~~~~~~~~~
                              %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:455:61: warning: 
      format specifies type 'long' but the argument has type 'int32' (aka 'int')
      [-Wformat]
  ...printf("new axiom (index %ld..%ld): ", unit->m_read_pos, unit->m_write_pos);
                                   ~~~                        ^~~~~~~~~~~~~~~~~
                                   %d
/Users/vnc/sc_dev/supercollider/sc3-plugins/source/TagSystemUGens/TagSystemUgens.cpp:670:5: error: 
      call to 'sc_isnan' is ambiguous
        if(sc_isnan(unit->m_count)) {  // terminate and reset
           ^~~~~~~~
/Users/vnc/sc_dev/supercollider/include/plugin_interface/SC_InlineUnaryOp.h:57:13: note: 
      candidate function
inline bool sc_isnan(float x)
            ^
/Users/vnc/sc_dev/supercollider/include/plugin_interface/SC_InlineUnaryOp.h:66:13: note: 
      candidate function
inline bool sc_isnan(double x)
            ^
7 warnings and 1 error generated.
make[2]: *** [source/CMakeFiles/TagSystemUgens.dir/TagSystemUGens/TagSystemUgens.cpp.o] Error 1
make[1]: *** [source/CMakeFiles/TagSystemUgens.dir/all] Error 2
make: *** [all] Error 2
vnc@vbookpro~/sc_dev/supercollider/sc3-plugins/build$ 

On 09 Dec 2013, at 14:00, Nick Collins <clicksonnil@xxxxxxxxx> wrote:

> Hi, 
> 
> I feel a bit more up to date now I'm on Mavericks. Perhaps too up to date; sc3-plugins stopped compiling. It turned out to be vecLib vs Accelerate hangover, so patch attached that allows compilation. Should I commit? Not sure if consequences for earlier OS X, but I think it should be fine (Accelerate has been the proper library name for some versions of OS X I believe) and only OS X implications so shouldn't affect other systems. 
> 
> Perhaps this was fixed already or not a problem on other machines but this is a fix for a problem in source downloaded last Friday with fresh 10.9. 
> 
> best,
> Nick
> 
> <sc3pluginsmavericks.patch>
> 
> 


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/