News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Warnings

Started by tynilosio, November 06, 2011, 12:17:28 AM

Previous topic - Next topic

tynilosio

warning: 'x' is used uninitialized in this function
warning: 'y' is used uninitialized in this function
warning: 'v' is used uninitialized in this function

Why have I these warnings?
Thanks!

oBFusCATed

Read your code and you'll understand.
Also read the docs for your compiler explaining why you get this warning.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tynilosio

i can't understad. I have done it of several ways, but I always have the same warning.
Can I show you the preogram?

oBFusCATed

No you can't, because this is not a general programming forum. Sorry.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tynilosio

and where can i find an answer?

oBFusCATed

Google or your favorite search engine. And as I've said read the compiler's manual.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

zabzonk

Try a site like http://www.reddit.com/r/learnprogramming - and when you do, post the code that causes the problem.