Hi all,

I past, i've submitted patches for support for compiling nupic with
llvm/clang.

Some of the main highlingts of this are:
*) native on OSX (so no longer the old gcc 4.2 in XCode, when we say we
support 4.6-4.8, sigh)

*) avail. on Windows (if the times come)

*) alternative on Linux (I esp. like the code analysis feature and output
highlighting)

Now we're just one step from it. In
https://github.com/numenta/nupic/pull/302
I commented out the offending part and rest compiles fine. So we need to
fix that one.

Please see https://issues.numenta.org/browse/NPC-280 for details, snip
posted here:



To compile with clang, use:
CC=clang CXX=clang++ ./cleanbuild.sh

There was some progress towards clang before, now we get stuck at:

In file included from math_py.cpp:2715:
In file included from
/home/marek/devel/nupic/lang/py/support/PyHelpers.hpp:40:
In file included from /home/marek/devel/nupic/nta/utils/Log.hpp:41:
/home/marek/devel/nupic/nta/utils/LoggingException.hpp:66:11: error: call
to function 'operator<<' that is neither visible in the template definition
nor found by
argument-dependent lookup
ss_ << obj;
^

I found some interesting read: http://www.cplusplus.com/forum/general/47766/


<http://www.cplusplus.com/forum/general/47766/>
Thanks, Mark




-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to