Use -Werror but don't fail on #warning directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I'm a fan of using #warning instead of //Fixme but I'm also a fan of compiling with -Werror.

Can those two desires somehow be reconciled? To be explicit, are there any combination of gcc flags including -Werror that will compile the following program? (Using gcc only options is totally ok.)

int main()
{
  #warning "not implemented yet"
}

All the best,
Daniel




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux