Specify -fno-exceptions in source file

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

 



Is it possible to specify -fno-exceptions for one translation unit?
I'd like to use -fno-exceptions for just one particular test file
without having to modify an entire build system. My attempts to use
'#pragma GCC diagnostic' didn't get anywhere.

William




[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