Giter Club home page Giter Club logo

c-thing's People

Contributors

postspectacular avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c-thing's Issues

Unable to run build/run tests

On 64bit Linux - Ubuntu 16.04:

make config=debug_sse test && bin/debug/test fails with:

==== Building lib (release_sse) ====
Creating bin/release
Creating obj/sse/release/lib
adjacency.c
In file included from src/data/adjacency.c:6:0:
src/math/math.h: In function ‘ct_clz8’:
src/math/math.h:60:6: error: #elif with no expression
 #elif
      ^
lib.make:202: recipe for target 'obj/sse/release/lib/adjacency.o' failed
make[1]: *** [obj/sse/release/lib/adjacency.o] Error 1
Makefile:56: recipe for target 'lib' failed
make: *** [lib] Error 2

changing line 60 in math.h from #elif to #else clears the above issue.

After making this fix tests still won't build and following issue is reported:

==== Building test (debug_sse) ====
object.c
In file included from src/common/dbg.h:6:0,
                 from src/data/object.c:5:
src/data/object.c: In function ‘ct_object_tostring’:
src/config.h:27:21: error: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 6 has type ‘int’ [-Werror=format=]
 #define CT_ANSI_RED "\x1b[31;1m"
                     ^
src/common/dbg.h:26:11: note: in expansion of macro ‘CT_ANSI_RED’
           CT_ANSI_RED "[ERROR] (%s:%d, err: %s) " M CT_ANSI_RESET "\n", \
           ^~~~~~~~~~~
src/common/dbg.h:52:5: note: in expansion of macro ‘CT_ERROR’
     CT_ERROR(M, ##__VA_ARGS__); \
     ^~~~~~~~
src/data/object.c:86:3: note: in expansion of macro ‘CT_CHECK’
   CT_CHECK(__impls_itostring[o->tag.type].tostring != NULL,
   ^~~~~~~~
cc1: all warnings being treated as errors
test.make:237: recipe for target 'obj/sse/debug/test/object.o' failed
make[1]: *** [obj/sse/debug/test/object.o] Error 1
Makefile:50: recipe for target 'test' failed
make: *** [test] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.