Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Warnings
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Warnings (Read 3638 times)
tynilosio
Single posting newcomer
Posts: 6
Warnings
«
on:
November 06, 2011, 12:17:28 am »
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!
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: Warnings
«
Reply #1 on:
November 06, 2011, 01:16:40 am »
Read your code and you'll understand.
Also read the docs for your compiler explaining why you get this warning.
Logged
(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
Single posting newcomer
Posts: 6
Re: Warnings
«
Reply #2 on:
November 06, 2011, 01:24:10 am »
i can't understad. I have done it of several ways, but I always have the same warning.
Can I show you the preogram?
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: Warnings
«
Reply #3 on:
November 06, 2011, 02:08:48 am »
No you can't, because this is not a general programming forum. Sorry.
Logged
(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
Single posting newcomer
Posts: 6
Re: Warnings
«
Reply #4 on:
November 06, 2011, 02:13:11 am »
and where can i find an answer?
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: Warnings
«
Reply #5 on:
November 06, 2011, 02:22:31 am »
Google or your favorite search engine. And as I've said read the compiler's manual.
Logged
(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
Guest
Re: Warnings
«
Reply #6 on:
November 06, 2011, 09:05:12 am »
Try a site like
http://www.reddit.com/r/learnprogramming
- and when you do, post the code that causes the problem.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Warnings