Skip to main content

Timeline for What does #if 0 do

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Mar 3, 2012 at 16:57 comment added BlueRaja - Danny Pflughoeft In particular, /* */ doesn't nest, so if you surround a large block of code with /* */ that already has a /* */ comment inside of it, the whole thing won't comment out correctly. A cleaner approach though, for this library, would have been to use #if defined EMBED_CONFIG_WORDS instead of #if 0 and then (possibly in a separate config-file or something) have a line like //#define EMBED_CONFIG_WORDS with a comment saying "uncomment this line to enable embedding of config-words."
Mar 3, 2012 at 15:53 vote accept varesa
Mar 3, 2012 at 13:28 history answered exscape CC BY-SA 3.0