Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 8th, 2005, 4:46 PM   #11
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Yeah grumpy, I accidentally broke that rule, whiel declarign variables today.

It was an integer and when compield using GCC, it reset it to the number 1.

But when someone else compiled it on Windows, it turned it into a quite high number.

So this sort of backs up your statement about it producing undefined behaviour.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Dec 8th, 2005, 4:57 PM   #12
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,260
Rep Power: 5 grumpy will become famous soon enough
Sorry Klipt; my comments were intended for Klarre, and I agree you did nothing wrong. I used your name in vain initially, and fixed that fairly quickly by editing my post in the time allowed. You obviously managed to read the incorrect draft version. I apologise for that.
grumpy is offline   Reply With Quote
Old Dec 8th, 2005, 5:09 PM   #13
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 313
Rep Power: 4 Klarre is on a distinguished road
I have been hanging around long enough on this forum to know that what I did was wrong. I apologies if someone got anoyed...

/Klarre
Klarre is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC