LWN.net Logo

Sometimes C++ is faster

Sometimes C++ is faster

Posted Jun 19, 2008 7:19 UTC (Thu) by eric.rannaud (guest, #44292)
In reply to: Sometimes C++ is faster by pphaneuf
Parent article: Converting GCC to C++

The debugging problem (function appears on one line) can be dealt with: 
pipe the output of cpp to indent(1) and do a little bit of processing on 
the preprocessors line markers (like: # 1 "/usr/include/stdint.h"). Gdb 
now sees the function on several lines, and it's much easier to use the 
debugger on them.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds