Comments (12)
The library is currently written with C99 assumed. What would it take to make it compile as C89? Apart from the comment style change?
Also, do the C compiler on vxWorks 6.x really not support C99?
from printf.
The library is currently written with C99 assumed. What would it take to make it compile as C89? Apart from the comment style change?
Also, do the C compiler on vxWorks 6.x really not support C99?
its default option didn't support for double line comment
from printf.
its default option didn't support for double line comment
And with a non-default option?
Also, there are many other changes which would be necessary to make the library C89-compliant. Specifically, we would need to not use long long
and avoid mixing declarations and code. How come the vxWorks compiler accepts it then?
from printf.
its default option didn't support for double line comment
And with a non-default option?
Also, there are many other changes which would be necessary to make the library C89-compliant. Specifically, we would need to not use
long long
and avoid mixing declarations and code. How come the vxWorks compiler accepts it then?
Currently only use block line comment is enough. long long
is supported
from printf.
The header is present, it's just the header with -ansi
option
from printf.
Currently only use block line comment is enough.
long long
is supported
So, what you're asking is not C89 support, nor C90 support. Perhaps we can accommodate your compiler by some kind of CMakeLists.txt check, that would add an appropriate flag for //
comment support?
from printf.
Currently only use block line comment is enough.
long long
is supportedSo, what you're asking is not C89 support, nor C90 support. Perhaps we can accommodate your compiler by some kind of CMakeLists.txt check, that would add an appropriate flag for
//
comment support?
Yeap, it's a -ansi option. I've seen a lot more compiling warning, I think achieve that would receive broader usage
from printf.
Yeap, it's a -ansi option
I think you've misread what I've written. The -ansi
option, at least with compilers such as clang and gcc, does not add support for anything; it is essentially equivalent to -std=c90
, which contradicts std=c99, and restricts rather than relaxing constraints.
At any rate, it remains unclear to me what you are asking and for purpose.
from printf.
Related Issues (20)
- is there a API to printf vector? HOT 1
- I want to add support for vector format HOT 3
- Possible NULL pointer dereference HOT 9
- Precision not honoured in large double HOT 3
- Rounding-Error: Use proper banker's rounding HOT 4
- Rename `rounding_threshold` to `one_half`
- printf("%# 01.1g", 9.8) results in many 0's due to underflow HOT 1
- printf("%# 01.1g", 9.8) yields decimal rather than exponential formatting HOT 9
- printf still bigger in size compared to stdio printf HOT 14
- print_exponential_number()'s variable "abs_exp10_covered_by_powers_table" may be really uninitialized HOT 1
- suspisious code vs comment HOT 1
- Failing to install a prinf-config.cmake file
- Compiler warning triggered when compiling without -Wmaybe-uninitialized
- Incorrect size assumption for size_t on 16-bit target (msp430). HOT 7
- Two problems about the get_components function HOT 3
- Support long double values HOT 1
- Use BUILD_SHARED_LIBS for choosing between static and shared build
- Wrong output of denormalized numbers HOT 4
- float autotest failures HOT 3
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 printf.