Top Document: Motif FAQ (Part 7 of 9) Previous Document: 230) Is there a C++ binding for Motif? Next Document: 232) How can I have a C++ member function in a callback? See reader questions & answers on this topic! - Help others by sharing your knowledge conflicts? We're using the USL C++ Standard Components which has the String class. This, however, conflicts with the typedef char *String found in <X11/Intrinsic.h> [Last modified: Oct 94] Answer: This is very simple to workaround. I agree that it is "wrong" but all you need to do is: #define String XtStringType #include "all the X files" #undef String This will translate the offending symbol. Thanks to Doug Rand <drand@sgi.com> User Contributions:Top Document: Motif FAQ (Part 7 of 9) Previous Document: 230) Is there a C++ binding for Motif? Next Document: 232) How can I have a C++ member function in a callback? Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: