22 Nov 15:04
// comments removed in mobility projects
Johnny Tolliver <jxt <at> ornl.gov>
2005-11-22 14:04:36 GMT
2005-11-22 14:04:36 GMT
I've just learned that comments that begin with //-- or //# get silently removed in NB 5.0 mobility projects. The result is that although the editor displays the comments, and the on-the-fly compiler treats them as comments, those comments are not really present in the file on disk. Then, when building, or compiling with F9, obscure compiler errors show up because the build compiler works from the file on disk. In my not-so-humble opinion, THIS IS INSANE! I repeat, the editor shows one thing but the file on disk is different! The editor is not showing an accurate representation of the file on disk. And, what's even worse, the real-time editor compiler sees one thing (same as the editor) but the build compiler sees something quite different, resulting in difficult-to-understand compile errors in code that looks perfectly okay. Sounds like a bug, huh? Well, check out issue 67875, which describes the problem. It has been closed as "invalid." I.e., the bizarre behavior described above is considered to be "normal." ARE YOU KIDDING ME? I would like to poll the readers of nbusers. Do you think the above behavior should be considered normal or abnormal? Perhaps if enough readers think the above behavior is unacceptable, the "issue" could be re-opened as a "bug" and fixed. Thanks, Johnny S. Tolliver Oak Ridge National Laboratory tolliverjs <at> ornl.gov, 865-574-1305
RSS Feed