Comments (1)
Certainly there is a preference for making the code compile cleanly without warnings, but in my experience most/all of the "conversion" warnings are just a nuisance. My recommendation would be to simply turn off the conversion warning (-Wno-conversion
) for the reason that it just creates a lot of false-positive noise.
This one looks like it could be worked around with a cast. But there is no actual problem as all the values being used are within the range of "unsigned int" (unsigned long
was only used here for consistency with the %lx
printf conversion specifier). So while the compiler does see a loss of precision, its not actually an issue at all.
from osal.
Related Issues (20)
- Streamline Manual Inspection Required (MIR) steps in unit + functional tests
- Add default build/install scripts for regular and test builds.
- Stack size on POSIX needs to account for internal TCB+TLS
- RTEMS `OS_BinSemTimedWait_Impl` and `OS_CountSemTimedWait_Impl` return incorrect status HOT 3
- OS_FileSysAddFixedMap should use the virtual vs physical path name
- OS_GetErrorName Seg Faults HOT 2
- SemGetInfo partial success cases
- Reinstate RTEMS 4.11 build
- count-sem-test, bin-sem-test intermittently fail on POSIX as non-root user HOT 3
- Add generic RTEMS tar file system support HOT 2
- POSIX implementation does not adhere to user-specified stack pointer
- Softsleep is no longer used
- Update OS_TimedRead and OS_TimedWrite to support sub-millisecond timeout resolution
- Static analysis issues JSC 2.1
- Shared workflow scripts need updates for node.js version 20
- Permit stack allocation from alternative memory pool on VxWorks
- f-sanitizer detect runtime error in coverage-vxworks-console-testrunner
- f-sanitizer detect runtime error in coverage-shared-idma
- Incorrect function parameter types in os-impl-no-select.c HOT 2
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 osal.