Giter Site home page Giter Site logo

datadistribution's People

Contributors

awegrzyn avatar cuveland avatar davidrohr avatar dennisklein avatar ironmann avatar ktf avatar lkrcal avatar martenole avatar mfasda avatar sy-c avatar teo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datadistribution's Issues

-pedantic -Werror in cmakelist causes error when compiling on ubuntu18.04

I am building on Ubuntu 18.04.4 LTS with gcc Version 10.3.0. The following warning

2021-07-09@12:00:17:DEBUG:O2-full-system-test:DataDistribution:0: /software/flo/alice/sw/SOURCES/DataDistribution/heads-v1.0.0/0/src/common/base/DataDistLogger.h:377:11: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result]
2021-07-09@12:00:17:DEBUG:O2-full-system-test:DataDistribution:0:   377 |       nice(+10);
2021-07-09@12:00:17:DEBUG:O2-full-system-test:DataDistribution:0:       |       ~~~~^~~~~

causes a crash on my system and I can only build succesfully when removing

if(NOT APPLE)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Werror")
endif()

from the cmakelist. Since I do not fully understand what was the original purpose using these specific compiler flags for none apple systems, I just open this issue and leave it up to the maintainers.

In addition the build failed on my system due to:

Undefined reference to 'dlsym'

which I could fix by adding

-Wl,--no-as-needed -ldl

to the cxx flags. However this might be an unrelated issue with my system, just wanted to leave this info here for future reference

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.