Package: g++-4.3
Version: 4.3.3-13
Severity: wishlist

The multi-line comment warning makes it difficult to comment out a multi-line 
macro definition using C++ style without getting a warning:

dan...@frobozz:/tmp$ cat test.cc
// #define doit(x) \
//    do { \
//      ab(x); \
//      cd(x); \
//    } while(0)

int test() {
  // doit(3);
  return 5;
}
dan...@frobozz:/tmp$ g++ -c -Wall test.cc
test.cc:1:1: warning: multi-line comment
-- 
Daniel Schepler




-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to