Author Topic: [wxSmithContribItems] Serveral 100 build warning on svn trunk  (Read 4593 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
[wxSmithContribItems] Serveral 100 build warning on svn trunk
« on: December 09, 2009, 07:25:53 pm »
Single warning.
Code
wxchart\wxchart-1.0\include\wx\axis.h|31|warning: attribute for 'class wxAxis' must follow the 'class' keyword|

After changing "WXDLLIMPEXP_CHART class" to "class WXDLLIMPEXP_CHART"
I tested compiling on Windows 7 using TDM 4.x compiler and saw the warnings go away.

Tim S.
« Last Edit: December 13, 2009, 12:26:42 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Serval 100 build warning on svn trunk
« Reply #1 on: December 13, 2009, 12:26:11 am »
Patch for warning reduction under Windows 7 MinGW GCC Build.

Tim S.

Code
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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartwindow.h (working copy)
@@ -41,7 +41,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/piechartpoints.h (working copy)
@@ -33,7 +33,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxis.h (working copy)
@@ -27,7 +27,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxis.h (working copy)
@@ -28,7 +28,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legend.h (working copy)
@@ -75,7 +75,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartpoints.h (working copy)
@@ -45,7 +45,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chart.h (working copy)
@@ -47,7 +47,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/axis.h (working copy)
@@ -27,7 +27,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/bar3dchartpoints.h (working copy)
@@ -33,7 +33,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/points.h (working copy)
@@ -60,7 +60,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/label.h (working copy)
@@ -38,7 +38,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/chartsizes.h
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartsizes.h (revision 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartsizes.h (working copy)
@@ -40,7 +40,7 @@
 //  INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartSizes
+class WXDLLIMPEXP_CHART wxChartSizes
 {
 private:
     int m_numBar;
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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/pie3dchartpoints.h (working copy)
@@ -33,7 +33,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 5973)
+++ 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 5973)
+++ 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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/barchartpoints.h (working copy)
@@ -33,7 +33,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/xaxiswindow.h (working copy)
@@ -40,7 +40,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/yaxiswindow.h (working copy)
@@ -50,7 +50,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/legendwindow.h (working copy)
@@ -36,7 +36,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 5973)
+++ src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/include/wx/chartctrl.h (working copy)
@@ -69,7 +69,7 @@
 // INTERFACE:
 //
 //----------------------------------------------------------------------E-+++
-WXDLLIMPEXP_CHART class wxChartCtrl : public wxScrolledWindow
+class WXDLLIMPEXP_CHART wxChartCtrl : public wxScrolledWindow
 {
 public:
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org