Author Topic: wxWidgets 2.8.7 is RELEASED at 27 nov 2007  (Read 9299 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
wxWidgets 2.8.7 is RELEASED at 27 nov 2007
« on: November 11, 2007, 02:01:28 am »
FYI:

wxWidgets 2.8.7 is out for testing.

Update: The biolpc22 site now has wxWidgets 2.8.7.
Update 2: The files were updated updated 21-Nov-2007 for missing the last week changes.

Tim S

http://biolpc22.york.ac.uk/pub/2.8.7/



« Last Edit: November 27, 2007, 10:06:46 pm by killerbot »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7-rc1 is out for testing.
« Reply #1 on: November 11, 2007, 09:50:30 am »
Quote
wxMSW:

- Correct (harmless) warnings given for forward-declared DLL-exported classes
  by mingw32 4.2 (Tim Stahlhut).


Hehehehehe, they used your patch Tim.
Maybe our script can be removed [note: I have seen similar warnings in wxSmith contrib items although the script was used].

@Tim : did you try to build without our script and how many warnings?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7-rc1 is out for testing.
« Reply #2 on: November 11, 2007, 03:05:08 pm »
It was less than 30 the last time I did it(about a week ago.); not counting wxSmith and wxSmith Contrib. I got it down to 6 warnings with patches to C::B blocks. ( wxSmith Contrib has about 150 warnings, something is wrong in it.)

The above was done with -Wno-write-strings as a compiler option.



Testing below done, after editing cbgcc420.script to remove -Wno-attributes.
I also removed my normal option of -Wno-write-strings from compiler settings.

C::B Project SVN 4617 and wxWidgets 2.8.7-rc1
0 errors, 88 warnings

Contrib WorkSpace SVN 4617 and wxWidgets 2.8.7-rc1
0 errors, 258 warnings


Tim S
« Last Edit: November 12, 2007, 02:23:00 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing.
« Reply #3 on: November 19, 2007, 07:13:14 am »
at 18-Nov-2007 22:37 the http://biolpc22.york.ac.uk/pub/ site had a folder 2.8.7 added.

Looks like they working on the 2.8.7 release; not yet done, the release has to be uploaded to sf.net and then marked as released.

Edit: It looks like a dry run; I think the person is just testing the build process, but I could be wrong.

Tim S
« Last Edit: November 19, 2007, 07:35:52 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing.
« Reply #4 on: November 19, 2007, 08:00:41 am »
at this moment it certainly contains files, gonna give it a test drive, to see the number of warnings ;-)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing.
« Reply #5 on: November 19, 2007, 12:19:42 pm »
ok some numbers :

have rebuilded CB an it's contrib plug-ins with wx287 and MinGW GCC 4.2.1 :

1) without our special script : 346
2) with our special script : 312

[FOLLOW UP] : was able to reduce this number by 32 by getting rid of the deprecated stuff for init a char*. In LexNsis.cxx, the method NsisCmp now takes 2 const char* instead of char* .
Does anyone know who we can tell about this so the wxscintilla guys can merge this.

The file in our repo has been committed : rev 4643
« Last Edit: November 19, 2007, 12:28:28 pm by killerbot »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wxWidgets 2.8.7 is out for testing.
« Reply #6 on: November 19, 2007, 12:36:19 pm »
Does anyone know who we can tell about this so the wxscintilla guys can merge this.

Submit it to wxWidgets devs. wxScintilla is now a part of wxWidgets. :)
Be a part of the solution, not a part of the problem.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9488
Re: wxWidgets 2.8.7 is out for testing.
« Reply #7 on: November 19, 2007, 01:22:41 pm »
Submit it to wxWidgets devs. wxScintilla is now a part of wxWidgets. :)
Is it really? Because I have that strong feeling that it's kind of a dead 3rd party project.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing.
« Reply #8 on: November 19, 2007, 02:29:06 pm »
Quote
hi,

http://biolpc22.york.ac.uk/pub/2.8.7/

holds the neew release, and I will upload to SF at the end of the week
if no bugs are reported

I put a Readme.txt file in the os2 docs to note the problem with the
watcom makefiles

chris
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing.
« Reply #9 on: November 19, 2007, 02:34:34 pm »
FYI:

The file LexNsis.cxx is the scintilla guys I think.

The problem is still in CVS; http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexNsis.cxx?view=markup

Tim S
« Last Edit: November 19, 2007, 02:37:13 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing.
« Reply #10 on: November 19, 2007, 02:59:31 pm »
have noticed that even wit our script : 160 warnings are coming from wxSmith::Contrib items.

Things like this :

Code: [Select]
WXDLLIMPEXP_CHART class wxPoints
{
    ...
};

==> warning : attribute ignored in declaration of 'class wxPoints'
==> warning : attribute for 'class wxPoints' must follow the 'class' keyword



:-(  : it seems not all those attributes stuff is already fixed in wx287, and not that our script (which adds: -Wno-attributes) doesn't seem to help either for these warnings.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing.
« Reply #11 on: November 19, 2007, 03:05:27 pm »
have noticed that even wit our script : 160 warnings are coming from wxSmith::Contrib items.

Things like this :

Code: [Select]
WXDLLIMPEXP_CHART class wxPoints
{
    ...
};

==> warning : attribute ignored in declaration of 'class wxPoints'
==> warning : attribute for 'class wxPoints' must follow the 'class' keyword



:-(  : it seems not all those attributes stuff is already fixed in wx287, and not that our script (which adds: -Wno-attributes) doesn't seem to help either for these warnings.

I fixed the ones in wxWidgets, but the above is from wxChart which is not part of wxWidgets. And, does the WXDLLIMPEXP_CHART in the wrong place for GCC.

http://wxcode.sourceforge.net/components/wxchart/

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing.
« Reply #12 on: November 19, 2007, 03:58:57 pm »
Patch to wxChart/wxSmith ContribItems needs tested no idea if it runs.

Did two things changed "WXDLLIMPEXP_CHART class wxChartWindow" to "class WXDLLIMPEXP_CHART wxChartWindow" for sevaral classes. And, defined, WXMAKINGDLL_CHART.

By defining WXMAKINGDLL_CHART, WXDLLIMPEXP_CHART is defined as WXEXPORT. But, I think it was most likely being ignored before this patch, in which case defining WXDLLIMPEXP_CHART as an empty string might be correct. This would require editing chartdef.h.

Tim S

Updated patch, forgot to save wxSmith ContribItems before creating.

Code: [Select]
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h (working copy)
@@ -33,7 +33,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxChartWindow : public wxWindow
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h (working copy)
@@ -26,7 +26,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPieChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxPieChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h (working copy)
@@ -24,7 +24,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxXAxis : public wxAxis
+class WXDLLIMPEXP_CHART wxXAxis : public wxAxis
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h (working copy)
@@ -24,7 +24,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxYAxis : public wxAxis
+class WXDLLIMPEXP_CHART wxYAxis : public wxAxis
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h (working copy)
@@ -72,7 +72,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLegend
+class WXDLLIMPEXP_CHART wxLegend
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h (working copy)
@@ -39,7 +39,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartPoints
+class WXDLLIMPEXP_CHART wxChartPoints
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h (working copy)
@@ -40,7 +40,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChart
+class WXDLLIMPEXP_CHART wxChart
 {
 public:
  wxChart();
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h (working copy)
@@ -23,7 +23,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxAxis
+class WXDLLIMPEXP_CHART wxAxis
 {
 public:
  wxAxis(ChartValue max = 0, ChartValue min = 0);
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h (working copy)
@@ -26,7 +26,7 @@
 //  INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxBar3DChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxBar3DChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h (working copy)
@@ -57,7 +57,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPoints
+class WXDLLIMPEXP_CHART wxPoints
 {
 public:
  wxPoints();
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h (working copy)
@@ -35,7 +35,7 @@
 //  INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLabel
+class WXDLLIMPEXP_CHART wxLabel
 {
 public:
     void Draw(CHART_HPAINT hp, int x, int y, ChartColor c,
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h (working copy)
@@ -26,7 +26,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxPie3DChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxPie3DChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpointstypes.h (working copy)
@@ -27,7 +27,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartPointsTypes
+class WXDLLIMPEXP_CHART wxChartPointsTypes
 {
 private:
  enum CHART_POINTS_TYPES
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartcolors.h (working copy)
@@ -54,7 +54,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartColors
+class WXDLLIMPEXP_CHART wxChartColors
 {
 
 public:
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h (working copy)
@@ -26,7 +26,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxBarChartPoints : public wxChartPoints
+class WXDLLIMPEXP_CHART wxBarChartPoints : public wxChartPoints
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h (working copy)
@@ -32,7 +32,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxXAxisWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxXAxisWindow : public wxWindow
 {
 public:
  wxXAxisWindow() {}; // for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h (working copy)
@@ -42,7 +42,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxYAxisWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxYAxisWindow : public wxWindow
 {
 public:
  wxYAxisWindow() {}; // for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h (working copy)
@@ -32,7 +32,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxLegendWindow : public wxWindow
+class WXDLLIMPEXP_CHART wxLegendWindow : public wxWindow
 {
 public:
  wxLegendWindow() {}; // for IMPLEMENT_DYNAMIC_CLASS
Index: src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h (working copy)
@@ -48,7 +48,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartCtrl : public wxScrolledWindow
+class WXDLLIMPEXP_CHART wxChartCtrl : public wxScrolledWindow
 {
 public:
 
Index: src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (revision 4640)
+++ src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (working copy)
@@ -41,6 +41,7 @@
  <Add option="-DwxUSE_UNICODE" />
  <Add option="-DWXMAKINGLIB_PROPGRID" />
  <Add option="-DWXMAKINGDLL_THINGS" />
+ <Add option="-DWXMAKINGDLL_CHART" />
  <Add directory="$(#cb)\include" />
  <Add directory="$(#cb)\include\wxscintilla\include" />
  <Add directory="$(#cb)\include\wxFlatNotebook\include" />
« Last Edit: November 19, 2007, 04:09:34 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing. updated 21-Nov-2007
« Reply #13 on: November 24, 2007, 04:19:10 pm »
GOOD news : after fixing some more warnings CB can now be build on windows with MinGW GCC 4.2.1 and wx 2.8.7 without our special script. Nothing special to that BUT the amount of warnings is reduced to 1 !!!
That one warning left is in the exporter plug-in : wxPdfDocument:pdffont.cpp
Code: [Select]
    wxChar c = s[i];
    if (c >= 0 && c < 128)

the if test is always true due to limited range of data type.

That warnings has been there for years, I wonder if the analysis is correct. Back in the days I was told that for ansi build this warning is correct but not for unicode build. However I get this warning in unicode build (or is the plug-in overriding and are we building that part of it in ansi after all ?).

Well apart from that, things look good. Once wx287 is out officially, nightly builds will switch to it (I am already using it now for 2 weeks and seen no problems) and all cbp files will be adjusted to no longer use the special build script and the special build script will be removed.

The only other thing which is left are the 'info' after some linking steps. I haven't investigated in those, but ideas are always welcome ;-)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6506
    • My Best Post
Re: wxWidgets 2.8.7 is out for testing. updated 21-Nov-2007
« Reply #14 on: November 24, 2007, 05:02:03 pm »
Well apart from that, things look good. Once wx287 is out officially, nightly builds will switch to it (I am already using it now for 2 weeks and seen no problems) and all cbp files will be adjusted to no longer use the special build script and the special build script will be removed.

They updated the wx287 being tested on 21-Nov-2007; you might wish to test the new changes.

Many Mac changes were done.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing. updated 21-Nov-2007
« Reply #15 on: November 24, 2007, 06:50:40 pm »
I am using that update :-)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: wxWidgets 2.8.7 is out for testing. updated 21-Nov-2007
« Reply #16 on: November 24, 2007, 07:21:01 pm »
Quote from: killerbot
That warnings has been there for years, I wonder if the analysis is correct. Back in the days I was told that for ansi build this warning is correct but not for unicode build. However I get this warning in unicode build (or is the plug-in overriding and are we building that part of it in ansi after all ?).

It only complains in Unicode build 'cause wxChar is an unsigned type, but it's necessary for ANSI 'cause wxChar is signed. I think we better live with that warning.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is out for testing. updated 21-Nov-2007
« Reply #17 on: November 24, 2007, 10:08:01 pm »
yes, that was the reason. Well since CB only officially supports unicode we could fix it, the >= 0 can be omitted. Or we have a f*** ifdef, I think wxUSE_UNICODE is what we should test for. I choose the latter one, although I hate ifdefs ;-)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: wxWidgets 2.8.7 is RELEASED at 27 nov 2007
« Reply #18 on: November 27, 2007, 10:07:35 pm »
does anyone knows if the 'http://biolpc22.york.ac.uk/pub/2.8.7/' location contains the same as what sourceforge has ?

this can save me some rebuilds ;-)