lol, exactly that would be:Originally posted by Boualem-DZ
Totally correct kerbaks2!
Told you it would hurt!
Although I don't think you meant that gcc complained?
The boom is supposed to unleash at runtime!
by boom ofcourse I mean "crash"![]()
$> ./time_bomb
segmentation fault.
*time_bomb dangling pointer
P.s what worries me it might even be detected at compile time![]()
+ Reply to Thread
Results 8 to 10 of 10
Thread: New member
-
27th January 2005 13:32 #8
Former Member
- Join Date
- Sep 2004
- Posts
- 511
-
27th January 2005 14:37 #9
Senior Member
- Join Date
- Oct 2004
- Posts
- 198
I am impressed, I never really used gcc, as I have grown used to the comfort of graphic mode compiling (i.e. via Visual Studio)Originally posted by kerbacs2
lol, exactly that would be:
$> ./time_bomb
segmentation fault.
*time_bomb dangling pointer
P.s what worries me it might even be detected at compile time
I beleive that some compilors might check this, but I still contend that this is not a compilation nor linking error, nor warning, so the compilor is being "generous" by reporting my time bomb at compile time!
Any example of a compiler error/warning free timebomb then?
-
27th January 2005 20:18 #10
Former Member
- Join Date
- Sep 2004
- Posts
- 511
lol, the compiler actually might recognise himOriginally posted by Boualem-DZ
I am impressed, I never really used gcc, as I have grown used to the comfort of graphic mode compiling (i.e. via Visual Studio)
I beleive that some compilors might check this, but I still contend that this is not a compilation nor linking error, nor warning, so the compilor is being "generous" by reporting my time bomb at compile time!
Any example of a compiler error/warning free timebomb then?

(it was programmed to detected him and reject....)







LinkBack URL
About LinkBacks
Reply With Quote
Bangladesh
Ecuador
Morocco
Nepal
Nicaragua
Puerto Rico
Russia
Scotland
South Africa
Ukraine
Virtual Countries