David Fix wrote:
Thanks, Dave. I didn't read this before I posted my "SOLVED" note. Is there a difference between 'stuff' and {stuff} in this regard?DanNo problem. :) And in answer to your question: Not when it's something simple like that, no... :) The curly braces will "wrap" a function or an include, and in this case, it wraps the entire included file within the extern "C" stuff... You could do something similar to the following to wrap more than one: extern "C" { #include <firstinclude.h> #include <secondinclude.h> } And it would work on both... However, since it's only one include that you're wrapping, the single-quote wrapping is fine. :) And what is extern "C"? C++ usually "mangles" function names in the symbol table, since you can "overload" a function... By using extern "C", it won't mangle the names in the symbol table... Useful if you're using BFD (Binary File Descriptors). Dave
Thanks again. That's good info. Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
