All Questions
2 questions
0
votes
0
answers
598
views
Suppressing format and extra args warnings for custom printf implementation
I've written a custom printf implementation for an embedded environment. In this effort I have also added some additional specifiers for printing unique types and timestamps, among other things:
...
0
votes
3
answers
3k
views
Compiler gives warning when printing the address of a variable
I made a very simple program to print the address of two variables.
#include<stdio.h>
int main()
{
int a,b;
printf("%u\n%u",&a,&b);
return 0;
}
But, the Clang-3.7 compiler ...