Hacker News new | ask | show | jobs
by jzwinck 4234 days ago
Try this [1]:

    #pragma GCC push_options
    #pragma GCC optimize("O2")
    #include <something>
    #pragma GCC pop_options
[1] https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-...
1 comments

I'm working with Visual Studio :) But this would have been awesome, as I think it compiled with MinGW.