To be perfectly honest, I added that to the compiler for a bit of a joke. I never expected that anyone would find it. But then I thought that if you had a code generator, it might be a useful warning. Depending on how it's formulated, the C compiler will elide it.
On Sat, Apr 30, 2016 at 2:03 AM -0700, "Daniel Klein" <[email protected]> wrote: 10 (base 2) is less than 5 (base 10) "There are only 10 types of people in the world, those who understand binary and those who don't." On Fri, Apr 29, 2016 at 10:08 PM, Richard Kann <[email protected]> wrote: Simple. I is a warning that the world has turned upside down. Wouldn't you want to know when 10 is less than 5? :-) Richard Kann Comp-Ware On 4/29/2016 6:13 PM, Daniel Klein wrote: What is the purpose of a statement like IF 10 < 5 THEN ... in live code? Daniel Klein On Fri, Apr 29, 2016 at 4:09 AM, VK <[email protected]> wrote: Hi Colleagues, I noticed some compiler warnings that doesn't really matter for this topic, like: [warning (74)] "C:\compiler\temp\TEST.IT.b", 16 (offset 13) near RESERVED WORD "THEN": Expression always evaluates as FALSE '10 < 5' the question is - is there a list of all warnings documented somewhere? Hope it's not a top secret like the language syntax? :))) Cheers VK -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
