Comments (3)
In file included from /home/workspace/myproject/include_file.h(57), from /home/workspace/myproject/file.c(34): /home/workspace/libmsr/include/msr_rapl.h(110): warning #47: incompatible redefinition of macro "UINT_MAX" (declared at line 97 of "/opt/intel/pe-xe-2017/binary/compilers_and_libraries_2017.4.196/linux/compiler/include/limits.h") #define UINT_MAX 4294967295U // taken from limits.h
from libmsr.
Thanks @danielecesarini! I haven't had a chance to test this, but if we were to remove the UINT_MAX macro and instead include limits.h, would this resolve the issue?
from libmsr.
Yes, it works.
from libmsr.
Related Issues (20)
- powmon shared memory cleanup
- Operate on MSRs in hyperthreaded dual-socket environment
- powmon csv-friendly output
- APIs to retrieve individual MSR data
- rapl_finalize should not automatically restore registers HOT 5
- pstate-test Command-line Arg Handling HOT 1
- make distclean recursively removes CMAKE_INSTALL_PREFIX HOT 2
- Test for setting power caps
- Updating existing tests to work with msr-safe whitelists
- Add support for Broadwell
- Create a testing suite/travis CI HOT 4
- Reading from correct indices HOT 4
- More descriptive errors when building on unsupported platforms HOT 5
- Fail of the build process if hwloc is not found HOT 13
- Continuous mapping not detected correctly on quartz
- Debug prints always on
- libmsr.so can't be found HOT 2
- /dev/cpu/*/msr_safe permissions HOT 1
- intel cpu frequency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmsr.