Algeria.com Discussion Forum - Powered by vBulletin


+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 8 to 10 of 10

Thread: New member

  1. #8
    kerbacs2 is offline Former Member
    Join Date
    Sep 2004
    Posts
    511
    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"
    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

  2. #9
    Boualem-DZ is offline Senior Member
    Join Date
    Oct 2004
    Posts
    198
    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 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?

  3. #10
    kerbacs2 is offline Former Member
    Join Date
    Sep 2004
    Posts
    511
    Originally 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?
    lol, the compiler actually might recognise him
    (it was programmed to detected him and reject....)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts