[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DDD gcc3.1 Mac OS X build problem
From: |
Susan G . Conger |
Subject: |
DDD gcc3.1 Mac OS X build problem |
Date: |
Thu, 30 Jan 2003 12:12:06 -0500 |
I am running into a problem compiling DDD on the Mac using Apple's new
X11 stuff with OpenMotif and gcc 3.1. This is the errror I am getting:
PrintGC.h: In function `void
__static_initialization_and_destruction_0(int,
int)':
PrintGC.h:40: no matching function for call to
`std::type_info::type_info()'
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
std::type_info::type_info(const std::type_info&)
PrintGC.h:47: no matching function for call to
`std::type_info::type_info()'
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
std::type_info::type_info(const std::type_info&)
PrintGC.h:55: no matching function for call to
`std::type_info::type_info()'
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
std::type_info::type_info(const std::type_info&)
From what I can see this is the code that is causing the problem:
// Printing environment
struct PrintGC {
DECLARE_TYPE_INFO
virtual bool isFig() const { return false; }
virtual bool isPostScript() const { return false; }
};
It doesn't like the DECALTE_TYPE_INFO.
I have tried it with HAVE_TYPEINFO defined and with it undefined and I
get the same error.
Has anyone else ran into this problem? Please respond directly to me
because I am not subscribed to any list.
Thanks,
Susan
======================================================================
Susan G. Conger Custom Windows & Macintosh Development
President Web Site Design & Development
YOERIC Corporation Database Design & Development
256 Windy Ridge Road
Chapel Hill, NC 27517
Phone/Fax: (919)542-0071
address@hidden
www.yoeric.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DDD gcc3.1 Mac OS X build problem,
Susan G . Conger <=