I'll second what Moritz wrote: Since this pragma is "non standard but widely supported", let's stick with the header guards since they are guaranteed to work even with very old C / C++ compilers ... if someone wants to -also- use this pragma that's fine; having both should not hurt. I'd prefer to not rely on just the pragma ... my US$0.02 worth, if even that much ;) - MLD
On Feb 23, 2014, at 2:03 PM, Moritz Fischer <moritz.fisc...@ettus.com> wrote: > some quick Google research found several contradictory sources. [1] > calls it 'non standard but widely supported'. > Since we build on weird platforms I think we should make absolutely > sure that this is the way things should be done ^{TM}. > Some other sources listed this as a potential speedup for compilation > on Visual Studio. Discuss. > > Personally I don't have an issue with header guards because there > exist plenty of plugins for {vim,emacs, whatever}, > to do it for you. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio