warning tag

6 questions


1 answers
126 views
0
&&& What is doing?

If you compile the code below into the gcc -Wall /-Waddress option,warning: the address of ‘i’ will always evaluate as ‘true’ [-Waddress]It appears.I don't know why it's coming up. I don't know what i...


1 answers
107 views
0
Why does "No newline at end of file" appear?

The C++ compiler keeps saying No newline at end of file and raising the warning.Why should I enter at the end of the source/header file?It's not even an error. It's annoying and I don't feel like it. ...


1 answers
80 views
0
There's a Python error, but I can't solve it

I keep getting errors like this, but I don't know what to do.


1 answers
125 views
0
Is there a way not to open the unused parameter warning?

Is there a way to prevent the unused parameter warning from appearing on the C code?For example, Bool NullFunc(const struct timespec *when, const char *who, unsigned short format, void *data, int len)...

2 years ago

1 answers
94 views
0
Is there any way to prevent "deferred conversion from string constant to 'char*'" from appearing on GCC?

I recently upgraded to gcc4.3, and the following warning appears after that.I think this happened by writing char* where you need to write const char*. My code is really long. (Almost 500 files)Cannot...


1 answers
104 views
0
In what order does i = (i, ++i, 1) + 1; run?

#include <stdio.h>int main(void) { int i = 5; i = (i, ++i, 1) + 1; printf(%d\n, i); return 0;}I'm Newbie who is studying about the Undefined Behavior.I was experimenting with this and that with ...


© 2024 OneMinuteCode. All rights reserved.