bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build bug...


From: Dan Morton
Subject: build bug...
Date: Mon, 08 Jul 2002 00:20:34 -1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020701

I think I've found a bug in the build for ddd version 3.3.1. It revolves around a single line that is included when it should not be. There is a block of code as follows in the file strclass.C starting on line 1434:

#if HAVE_IOSTATE
   ios::iostate new_state = s.rdstate();
#else
   int new_state = s.rdstate();
#endif
...
s.clear(new_state);

When I build ddd on my system without HAVE_IOSTATE defined anywhere it errors with an message about not being able to convert between a c++ class and an int. However, when I comment the s.clear line out it seems to build just fine.

I'm running Sourcemage GNU/Linux with GCC 3.1 installed.

I suggest putting another #if block around the s.clear line to make it work when new_state is an integer.

Should you require more information on my setup, do not hesitate to contact me. I try to do what I can to support free software.

-Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]