Skip to content
Snippets Groups Projects
  1. Apr 26, 2017
  2. Apr 12, 2017
  3. Mar 10, 2017
  4. Mar 07, 2017
  5. Mar 06, 2017
    • Jakub Jirůtka's avatar
      include <sys/types.h> where uint is used · a623289d
      Jakub Jirůtka authored
      Compilation fails on gcc 6.3.0 and musl libc:
      
        g++ -pipe -std=c++11 -O3 -DNDEBUG -DRELEASE -c -Wall -pedantic -Wextra -Werror \
          -Wshadow -Wpointer-arith -Wcast-qual -Wdelete-non-virtual-dtor \
          -Wredundant-decls -fPIC \
          ... \
          alib2algo_experimental/src/graph/spanningtree/Kruskal.cpp \
          -o alib2algo_experimental/obj-release/graph/spanningtree/Kruskal.o
        In file included from alib2algo_experimental/src/graph/spanningtree/Kruskal.cpp:15:0:
        alib2algo_experimental/src/graph/spanningtree/../datastructs/Components.h:74:3: error: 'uint' does not name a type
           uint parent;
           ^~~~
      
      This type is defined in sys/types.h when _GNU_SOURCE or _BSD_SOURCE is
      defined (at least in musl libc). Please note that uint is not specified
      in C++ standard and should not be used...
      a623289d
    • Jakub Jirůtka's avatar
      fix LD_LIBRARY_PATH in makefiles to not use semicolon · c8f132e7
      Jakub Jirůtka authored
      The current makefiles generate invalid LD_LIBRARY_PATHs like:
      
          LD_LIBRARY_PATH="../alib2std/lib-release;../alib2common/lib-release;lib-release" test-bin-release/alib2test
      
      Standard directory separator on Unix/Linux systems is a colon. I found
      that semicolon may be used to separate two lists of directories - the
      first one is searched before the list(s) supplied on the command line,
      the second one is searched after. But that's apparently not the case
      here.
      
      It seems that glibc doesn't care about it, because it somehow works on
      Jenkins that runs on Gentoo. However, more correct libc libraries, like
      musl libc, do care about it and don't accept such LD_LIBRARY_PATH.
      c8f132e7
    • Jan Trávníček's avatar
      take out cppunit private macros · cd3a9e12
      Jan Trávníček authored
      cd3a9e12
  6. Feb 21, 2017
  7. Jan 11, 2017
  8. Jan 01, 2017
  9. Dec 22, 2016
  10. Dec 06, 2016
  11. Dec 01, 2016
  12. Nov 09, 2016
  13. Nov 04, 2016
Loading