Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Compiler warning of the day

Compiler warning of the day

Scheduled Pinned Locked Moved The Lounge
21 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D dexterama

    I am always forced to check if the file contains my source code whenever I see the message: "This file was generated by a tool"

    K Offline
    K Offline
    kmoorevs
    wrote on last edited by
    #9

    :laugh: :laugh: I laugh inwardly every time I see that! I suppose it would be a great comment to keep others away from that code. You could even add the dire warning 'Modification of this code may have dire consequences'. :laugh:

    "Go forth into the source" - Neal Morse

    1 Reply Last reply
    0
    • D dexterama

      I am always forced to check if the file contains my source code whenever I see the message: "This file was generated by a tool"

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #10

      I know if the file contains any of MY source code then the message would be: "This file was generated by a fool"

      The difficult we do right away... ...the impossible takes slightly longer.

      B 1 Reply Last reply
      0
      • B Basildane

        The best error message I can remember was "this error cannot happen".

        P Offline
        P Offline
        Patrice T
        wrote on last edited by
        #11

        lol, excellent one

        Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

        K 1 Reply Last reply
        0
        • I Indivara

          ... or of the night, actually. Its nearly 2am here :zzz:

          i was declared but never used.

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #12

          I no longer mind being used, so long as it feels good. Being unused, though, is just a waste of excellence.

          Will Rogers never met me.

          1 Reply Last reply
          0
          • I Indivara

            ... or of the night, actually. Its nearly 2am here :zzz:

            i was declared but never used.

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #13

            That's seriously deep.

            cheers Chris Maunder

            1 Reply Last reply
            0
            • Richard Andrew x64R Richard Andrew x64

              I know if the file contains any of MY source code then the message would be: "This file was generated by a fool"

              The difficult we do right away... ...the impossible takes slightly longer.

              B Offline
              B Offline
              Brittle1618
              wrote on last edited by
              #14

              That would be cool :cool: :laugh:

              1 Reply Last reply
              0
              • B Basildane

                The best error message I can remember was "this error cannot happen".

                N Offline
                N Offline
                Naz_Firdouse
                wrote on last edited by
                #15

                Superb :)

                1 Reply Last reply
                0
                • I Indivara

                  ... or of the night, actually. Its nearly 2am here :zzz:

                  i was declared but never used.

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #16

                  The guys I work with deliberately create unreferenced variables in order to generate compiler warnings:

                  int Somebody_needs_to_review_this_before_release;

                  rather than use

                  #pragma message("Somebody needs to review this before release");

                  :doh:

                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • I Indivara

                    ... or of the night, actually. Its nearly 2am here :zzz:

                    i was declared but never used.

                    J Offline
                    J Offline
                    James Curran
                    wrote on last edited by
                    #17

                    Reminds me of a story I wrote for my blog, "I, Disposable": http://honestillusion.com/blog/2010/10/09/naked-came-the-null-delegate-chapter-1-i-disposable-/[^]

                    Truth, James

                    1 Reply Last reply
                    0
                    • P Patrice T

                      lol, excellent one

                      Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

                      K Offline
                      K Offline
                      Kirk 10389821
                      wrote on last edited by
                      #18

                      We got a phone call from a client, and they said the error message read: Houston, we have a problem! We had to scan the code, and it said it should NEVER happen. The other one I will always remember: Maybe you no run on right system!

                      P 1 Reply Last reply
                      0
                      • K Kirk 10389821

                        We got a phone call from a client, and they said the error message read: Houston, we have a problem! We had to scan the code, and it said it should NEVER happen. The other one I will always remember: Maybe you no run on right system!

                        P Offline
                        P Offline
                        Patrice T
                        wrote on last edited by
                        #19

                        Kirk 10389821 wrote:

                        Houston, we have a problem!

                        :thumbsup:

                        Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

                        1 Reply Last reply
                        0
                        • B Basildane

                          The best error message I can remember was "this error cannot happen".

                          P Offline
                          P Offline
                          patbob
                          wrote on last edited by
                          #20

                          I always liked the one I got once that told me to call my IBM sales person to purchase more memory. It even helpfully included the 800 number. This was on the IBM 3090 -- my virtual machine had run out of memory. That was also the OS that would issue syntax error on line YYY errors when you gave bad arguments to command line commands.

                          We can program with only 1's, but if all you've got are zeros, you've got nothing.

                          1 Reply Last reply
                          0
                          • B Basildane

                            The best error message I can remember was "this error cannot happen".

                            K Offline
                            K Offline
                            kdmote
                            wrote on last edited by
                            #21

                            The one that made me laugh so much that I screen-cap'd it and posted it on my office door as a personal moniker: "Catastrophic Failure" [^]

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups