Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: grv575 on December 27, 2005, 04:56:07 am

Title: 2 minor bugs 1598
Post by: grv575 on December 27, 2005, 04:56:07 am
1)

Unicode build.  Errors out with (something with the latest parser additions):
(http://www.geocities.com/grv575/3.JPG)

2)

Linux ansi build.  Compiles OK, but then create a new wxwidgets project and hit compile.  Errors with:
(http://www.geocities.com/grv575/1.JPG)

Compare with windows version:
(http://www.geocities.com/grv575/2.JPG)
Title: Re: 2 minor bugs 1598
Post by: rickg22 on December 27, 2005, 05:07:15 am
i have this:

Code
#ifdef __WXWINDOWS__

#  include <wx/string.h>
#  define string wxString
#  define char wxChar

#else

#include <string>

#endif

Should I indent that include?
Title: Re: 2 minor bugs 1598
Post by: grunerite on December 27, 2005, 05:46:23 am
I tried the Unicode build yesterday and had the same problem. The project is missing one of the parser sources and header (searchtree?). Adding it to the project seemed to fix it. Hope it is ok to post this.
grunerite
Title: Re: 2 minor bugs 1598
Post by: grv575 on December 27, 2005, 05:54:06 am
Heh, the problem was that searchtree.cpp and searchtree.h were not included in the .cbp file...

So #1 can be fixed by updating the -UNI.cbp file
#2 still exists I believe (pch on linux for wxWidgets template).
Title: Re: 2 minor bugs 1598
Post by: grv575 on December 27, 2005, 06:23:04 am
OK a third bug - this one's in the debugger - setting breakpoints (the line# isn't being added - it just puts C:/1/123/main.cpp:).





[attachment deleted by admin]
Title: Re: 2 minor bugs 1598
Post by: 280Z28 on December 27, 2005, 06:37:55 am
OK a third bug - this one's in the debugger - setting breakpoints (the line# isn't being added - it just puts C:/1/123/main.cpp:).





http://sourceforge.net/tracker/index.php?func=detail&aid=1389953&group_id=126998&atid=707418
Title: Re: 2 minor bugs 1598
Post by: rickg22 on December 27, 2005, 05:31:31 pm
Heh, the problem was that searchtree.cpp and searchtree.h were not included in the .cbp file...

So #1 can be fixed by updating the -UNI.cbp file
#2 still exists I believe (pch on linux for wxWidgets template).

Somebody submit a patch for #1 please!