Hello Antonio,
1 - When building iuplua_pplot in debug there is a complaint about
IupPPlotTransformTo not being defined in iupplot.
I looked at iupplot.def and it was not defined but weird thing!!!: in
release mode there is not linker complain.
2 - the warnings in make iup_pplot may be important:
Tecmake: Starting [ iup_pplot:dllw4 ]
Tecmake: compiling iupPPlot.cpp ...
C:/mingw32-4.8.2-posix-dwarf/bin/g++ -c -Wall -O2 -I../include -I../src
-I../../cd/include
-IC:/mi
gw32-4.8.2-posix-dwarf/include -D_IUP_PPLOT_ -DCD_NO_OLD_INTERFACE
-DTEC_UNAME=dllw4
-DTEC_SYSNAME
Win32 -DTEC_LITTLEENDIAN -DTEC_32 -DWIN32 -DNDEBUG -o
../obj/iup_pplot/dllw4/iupPPlot.o iupPPlot.cp
In file included from iupPPlot.cpp:19:0:
iupPPlot.h:14:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4786)
^
In file included from iupPPlot.cpp:19:0:
iupPPlot.h: In constructor 'PStyle::PStyle()':
iupPPlot.h:61:8: warning: 'PStyle::mMarkSize' will be initialized after
[-Wreorder]
int mMarkSize;
^
iupPPlot.h:60:8: warning: 'int PStyle::mMarkStyle' [-Wreorder]
int mMarkStyle;
^
iupPPlot.h:55:4: warning: when initialized here [-Wreorder]
PStyle (): mFontSize(0), mFontStyle(-1), mPenWidth(1), mPenStyle(0),
mMarkSize(7), mMarkStyle(3
{};
^
iupPPlot.h: In destructor 'virtual
CalculatedPlotData::~CalculatedPlotData()':
iupPPlot.h:126:35: warning: deleting object of abstract class type
'CalculatedDataBase' which has n
n-virtual destructor will cause undefined behaviour
[-Wdelete-non-virtual-dtor]
~CalculatedPlotData () {delete mCalculatedData;}
^
In file included from iupPPlot.cpp:19:0:
iupPPlot.h: In constructor 'DataDrawerBase::DataDrawerBase()':
iupPPlot.h:254:10: warning: 'DataDrawerBase::mPlotIndex' will be initialized
after [-Wreorder]
int mPlotIndex;
^
iupPPlot.h:245:9: warning: 'bool DataDrawerBase::mHasMarks' [-Wreorder]
bool mHasMarks;
^
iupPPlot.h:236:4: warning: when initialized here [-Wreorder]
DataDrawerBase (): mXTrafo (0), mYTrafo (0), mDrawFast (false),
mPlotCount (1), mPlotIndex (0),
mHasMarks(false), mShowValues(false), mMode(0) {};
^
iupPPlot.h: In constructor 'TickInfo::TickInfo()':
iupPPlot.h:361:11: warning: 'TickInfo::mFormatString' will be initialized
after [-Wreorder]
string mFormatString;
^
iupPPlot.h:355:9: warning: 'bool TickInfo::mTicksOn' [-Wreorder]
bool mTicksOn;
^
iupPPlot.h:347:4: warning: when initialized here [-Wreorder]
TickInfo ():mAutoTick (true), mAutoTickSize (true), mTickDivision(1),
mMajorTickSpan(1), mMajor
ickScreenSize (1), mMinorTickScreenSize (1), mFormatString ("%.0f"),
mTicksOn (true) {};
^
iupPPlot.h: In constructor 'AxisSetup::AxisSetup()':
iupPPlot.h:387:9: warning: 'AxisSetup::mLabelCentered' will be initialized
after [-Wreorder]
bool mLabelCentered;
^
iupPPlot.h:385:9: warning: 'bool AxisSetup::mDiscrete' [-Wreorder]
bool mDiscrete;
^
iupPPlot.h:368:4: warning: when initialized here [-Wreorder]
AxisSetup (): mMin(0),mMax(0), mAutoScaleMin(true), mAutoScaleMax
(true), mAscending (true), mL
gScale(false), mCrossOrigin(true), mMaxDecades(-1), mLogFactor (1), mLogBase
(10), mLabelCentered(t
ue), mDiscrete(false) {};
^
iupPPlot.cpp: In member function 'bool PlotDataSelection::IsSelected(long
int) const':
iupPPlot.cpp:124:16: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (size ()<=inIndex) {
^
iupPPlot.cpp: In member function 'long int
PlotDataSelection::GetSelectedCount() const':
iupPPlot.cpp:132:30: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
for (int theI=0;theI<size (); theI++) {
^
iupPPlot.cpp: In member function 'int PlotDataContainer::GetCount(int)':
iupPPlot.cpp:243:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mXDataList.size ()) {
^
iupPPlot.cpp: In member function 'PlotDataBase*
PlotDataContainer::GetXData(int)':
iupPPlot.cpp:250:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mXDataList.size ()) {
^
iupPPlot.cpp: In member function 'PlotDataBase*
PlotDataContainer::GetYData(int)':
iupPPlot.cpp:257:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mYDataList.size ()) {
^
iupPPlot.cpp: In member function 'LegendData*
PlotDataContainer::GetLegendData(int)':
iupPPlot.cpp:264:57: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mLegendDataList.size ()) {
^
iupPPlot.cpp: In member function 'DataDrawerBase*
PlotDataContainer::GetDataDrawer(int)':
iupPPlot.cpp:271:57: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mDataDrawerList.size ()) {
^
iupPPlot.cpp: In member function 'PlotDataSelection*
PlotDataContainer::GetPlotDataSelection(int)':
iupPPlot.cpp:278:64: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mPlotDataSelectionList.size ()) {
^
iupPPlot.cpp: In member function 'const PlotDataBase*
PlotDataContainer::GetConstXData(int) const':
iupPPlot.cpp:285:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mXDataList.size ()) {
^
iupPPlot.cpp: In member function 'const PlotDataBase*
PlotDataContainer::GetConstYData(int) const':
iupPPlot.cpp:292:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mYDataList.size ()) {
^
iupPPlot.cpp: In member function 'const LegendData*
PlotDataContainer::GetConstLegendData(int) cons
':
iupPPlot.cpp:299:57: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mLegendDataList.size ()) {
^
iupPPlot.cpp: In member function 'const DataDrawerBase*
PlotDataContainer::GetConstDataDrawer(int)
onst':
iupPPlot.cpp:306:57: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mDataDrawerList.size ()) {
^
iupPPlot.cpp: In member function 'const PlotDataSelection*
PlotDataContainer::GetConstPlotDataSelec
ion(int) const':
iupPPlot.cpp:313:64: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mPlotDataSelectionList.size ()) {
^
iupPPlot.cpp: In member function 'void
PlotDataContainer::RemoveElement(int)':
iupPPlot.cpp:320:38: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (!(inIndex < mXDataList.size () && inIndex < mYDataList.size () &&
^
iupPPlot.cpp:320:70: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (!(inIndex < mXDataList.size () && inIndex < mYDataList.size () &&
^
iupPPlot.cpp:321:41: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
inIndex < mLegendDataList.size () && inIndex < mDataDrawerList.size
())) {
^
iupPPlot.cpp:321:78: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
inIndex < mLegendDataList.size () && inIndex < mDataDrawerList.size
())) {
^
iupPPlot.cpp: In member function 'void
PlotDataContainer::SetNewLegendColor(LegendData*)':
iupPPlot.cpp:407:38: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
for (i=0; i<mLegendDataList.size(); i++)
^
iupPPlot.cpp:415:35: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (i == mLegendDataList.size())
^
iupPPlot.cpp: In member function 'void PlotDataContainer::SetXYPlot(int,
PlotDataBase*, PlotDataBas
*, LegendData*, DataDrawerBase*, PlotDataSelection*)':
iupPPlot.cpp:481:56: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex >= 0 && inIndex < mYDataList.size () ) {
^
iupPPlot.cpp:496:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex >= 0 && inIndex < mYDataList.size () ) {
^
iupPPlot.cpp: In member function 'bool PlotDataContainer::SetDataDrawer(int,
DataDrawerBase*)':
iupPPlot.cpp:518:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
if (inIndex < 0 || inIndex >= mYDataList.size () ) {
^
iupPPlot.cpp: In member function 'int
PlotDataContainer::GetPlotIndexByName(const string&) const':
iupPPlot.cpp:533:48: warning: comparison between signed and unsigned integer
expressions [-Wsign-co
pare]
for (int theI=0;theI<mLegendDataList.size ();theI++) {
^
In file included from iupPPlot.cpp:19:0:
iupPPlot.h: In constructor 'PPlot::PPlot()':
iupPPlot.h:550:11: warning: 'PPlot::mYTrafo' will be initialized after
[-Wreorder]
Trafo *mYTrafo;
^
iupPPlot.h:538:18: warning: 'TickIterator* PPlot::mXTickIterator'
[-Wreorder]
TickIterator *mXTickIterator;
^
iupPPlot.cpp:901:1: warning: when initialized here [-Wreorder]
PPlot::PPlot ():
^
In file included from iupPPlot.cpp:19:0:
iupPPlot.h:539:18: warning: 'PPlot::mYTickIterator' will be initialized
after [-Wreorder]
TickIterator *mYTickIterator;
^
iupPPlot.h:532:9: warning: 'bool
PPlot::mHasAnyModifyingCalculatorBeenActive' [-Wreorder]
bool mHasAnyModifyingCalculatorBeenActive;
^
iupPPlot.cpp:901:1: warning: when initialized here [-Wreorder]
PPlot::PPlot ():
^
iupPPlot.cpp: In member function 'virtual bool PPlot::Draw(Painter&)':
iupPPlot.cpp:968:10: warning: variable 'theShouldRepeat' set but not used
[-Wunused-but-set-variabl
]
bool theShouldRepeat = false;
^
iupPPlot.cpp: In member function 'virtual bool
BarDataDrawer::DrawOnlyLastPoint(const PlotDataBase&
const PlotDataBase&, const PlotDataSelection&, const AxisSetup&, const
PRect&, Painter&) const':
iupPPlot.cpp:1799:7: warning: variable 'theTraX' set but not used
[-Wunused-but-set-variable]
int theTraX, theTraY;
^
Tecmake: compiling iupPPlotInteraction.cpp ...
C:/mingw32-4.8.2-posix-dwarf/bin/g++ -c -Wall -O2 -I../include -I../src
-I../../cd/include
-IC:/mi
gw32-4.8.2-posix-dwarf/include -D_IUP_PPLOT_ -DCD_NO_OLD_INTERFACE
-DTEC_UNAME=dllw4
-DTEC_SYSNAME
Win32 -DTEC_LITTLEENDIAN -DTEC_32 -DWIN32 -DNDEBUG -o
../obj/iup_pplot/dllw4/iupPPlotInteraction.o
upPPlotInteraction.cpp
In file included from iupPPlotInteraction.h:13:0,
from iupPPlotInteraction.cpp:13:
iupPPlot.h:14:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4786)
^
In file included from iupPPlotInteraction.h:13:0,
from iupPPlotInteraction.cpp:13:
iupPPlot.h: In constructor 'PStyle::PStyle()':
iupPPlot.h:61:8: warning: 'PStyle::mMarkSize' will be initialized after
[-Wreorder]
int mMarkSize;
^
iupPPlot.h:60:8: warning: 'int PStyle::mMarkStyle' [-Wreorder]
int mMarkStyle;
^
iupPPlot.h:55:4: warning: when initialized here [-Wreorder]
PStyle (): mFontSize(0), mFontStyle(-1), mPenWidth(1), mPenStyle(0),
mMarkSize(7), mMarkStyle(3
{};
^
iupPPlot.h: In destructor 'virtual
CalculatedPlotData::~CalculatedPlotData()':
iupPPlot.h:126:35: warning: deleting object of abstract class type
'CalculatedDataBase' which has n
n-virtual destructor will cause undefined behaviour
[-Wdelete-non-virtual-dtor]
~CalculatedPlotData () {delete mCalculatedData;}
^
In file included from iupPPlotInteraction.h:13:0,
from iupPPlotInteraction.cpp:13:
iupPPlot.h: In constructor 'DataDrawerBase::DataDrawerBase()':
iupPPlot.h:254:10: warning: 'DataDrawerBase::mPlotIndex' will be initialized
after [-Wreorder]
int mPlotIndex;
^
iupPPlot.h:245:9: warning: 'bool DataDrawerBase::mHasMarks' [-Wreorder]
bool mHasMarks;
^
iupPPlot.h:236:4: warning: when initialized here [-Wreorder]
DataDrawerBase (): mXTrafo (0), mYTrafo (0), mDrawFast (false),
mPlotCount (1), mPlotIndex (0),
mHasMarks(false), mShowValues(false), mMode(0) {};
^
iupPPlot.h: In constructor 'TickInfo::TickInfo()':
iupPPlot.h:361:11: warning: 'TickInfo::mFormatString' will be initialized
after [-Wreorder]
string mFormatString;
^
iupPPlot.h:355:9: warning: 'bool TickInfo::mTicksOn' [-Wreorder]
bool mTicksOn;
^
iupPPlot.h:347:4: warning: when initialized here [-Wreorder]
TickInfo ():mAutoTick (true), mAutoTickSize (true), mTickDivision(1),
mMajorTickSpan(1), mMajor
ickScreenSize (1), mMinorTickScreenSize (1), mFormatString ("%.0f"),
mTicksOn (true) {};
^
iupPPlot.h: In constructor 'AxisSetup::AxisSetup()':
iupPPlot.h:387:9: warning: 'AxisSetup::mLabelCentered' will be initialized
after [-Wreorder]
bool mLabelCentered;
^
iupPPlot.h:385:9: warning: 'bool AxisSetup::mDiscrete' [-Wreorder]
bool mDiscrete;
^
iupPPlot.h:368:4: warning: when initialized here [-Wreorder]
AxisSetup (): mMin(0),mMax(0), mAutoScaleMin(true), mAutoScaleMax
(true), mAscending (true), mL
gScale(false), mCrossOrigin(true), mMaxDecades(-1), mLogFactor (1), mLogBase
(10), mLabelCentered(t
ue), mDiscrete(false) {};
^
In file included from iupPPlotInteraction.cpp:13:0:
iupPPlotInteraction.h: In constructor
'PZoomInteraction::PZoomInteraction(PPlot&)':
iupPPlotInteraction.h:155:8: warning: 'PZoomInteraction::mDragging' will be
initialized after [-Wre
rder]
bool mDragging;
^
iupPPlotInteraction.h:141:13: warning: 'PZoomInteraction::EZoomMode
PZoomInteraction::mZoomMode'
-Wreorder]
EZoomMode mZoomMode;
^
iupPPlotInteraction.cpp:53:1: warning: when initialized here [-Wreorder]
PZoomInteraction::PZoomInteraction (PPlot &inPPlot):
^
In file included from iupPPlotInteraction.cpp:13:0:
iupPPlotInteraction.h: In constructor
'PSelectionInteraction::PSelectionInteraction(PPlot&)':
iupPPlotInteraction.h:219:12: warning: 'PSelectionInteraction::mCommand'
will be initialized after
-Wreorder]
ECommand mCommand;
^
iupPPlotInteraction.h:209:34: warning: 'PSelectionInteractionListener*
PSelectionInteraction::mLi
tener' [-Wreorder]
PSelectionInteractionListener *mListener;
^
iupPPlotInteraction.cpp:258:1: warning: when initialized here [-Wreorder]
PSelectionInteraction::PSelectionInteraction (PPlot &inPPlot):
^
iupPPlotInteraction.cpp: In member function 'void
PSelectionInteraction::SelectAll(int, PlotDataBas
*, PlotDataBase*, PlotDataSelection*)':
iupPPlotInteraction.cpp:287:52: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
for (long theI=0;theI<inPlotDataSelection->size ();theI++) {
^
iupPPlotInteraction.cpp: In member function 'virtual bool
PSelectionInteraction::Calculate(Painter&
PPlot&)':
iupPPlotInteraction.cpp:322:9: warning: unused variable 'theDist'
[-Wunused-variable]
float theDist = -1;
^
iupPPlotInteraction.cpp: In member function 'void
PSelectionInteraction::HandleGlobalInteraction(in
, PlotDataBase*, PlotDataBase*, bool, long int, DataDrawerBase*,
PlotDataSelection*)':
iupPPlotInteraction.cpp:369:55: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
for (int theI=0;theI<inPlotDataSelection->size ();theI++) {
^
iupPPlotInteraction.cpp: In member function 'void
PSelectionInteraction::HandlePointwiseInteraction
int, PlotDataBase*, PlotDataBase*, bool, long int, DataDrawerBase*,
PlotDataSelection*)':
iupPPlotInteraction.cpp:379:36: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
if (inPlotDataSelection->size ()>inNearestPointIndex) {
^
iupPPlotInteraction.cpp: In member function 'bool
PlotDataIncrementer::Impl_Increment(const std::ve
tor<float>&, std::vector<float*>&, const PlotDataIncrementerBounds&, const
std::vector<PlotDataIncr
menterBounds>&, bool) const':
iupPPlotInteraction.cpp:460:37: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
for (int theI=0;theI<inData.size ();theI++) {
^
In file included from iupPPlotInteraction.cpp:13:0:
iupPPlotInteraction.h: In constructor
'PEditInteraction::PEditInteraction(PPlot&)':
iupPPlotInteraction.h:257:8: warning: 'PEditInteraction::mCalculate' will be
initialized after [-Wr
order]
bool mCalculate;
^
iupPPlotInteraction.h:254:29: warning: 'PEditInteractionListener*
PEditInteraction::mListener' [-
reorder]
PEditInteractionListener *mListener;
^
iupPPlotInteraction.cpp:481:1: warning: when initialized here [-Wreorder]
PEditInteraction::PEditInteraction (PPlot &inPPlot):
^
iupPPlotInteraction.cpp: In member function 'virtual bool
PVerticalCursorInteraction::Impl_Calculat
(Painter&, PPlot&)':
iupPPlotInteraction.cpp:530:19: warning: unused variable 'theXData'
[-Wunused-variable]
PlotDataBase *theXData = theContainer.GetXData (theI);
^
iupPPlotInteraction.cpp:532:21: warning: unused variable 'theDataDrawer'
[-Wunused-variable]
DataDrawerBase *theDataDrawer = theContainer.GetDataDrawer (theI);
^
iupPPlotInteraction.cpp: In member function 'void
PVerticalCursorInteraction::HandleVerticalCursorK
y(const PlotDataSelection*, PlotDataBase*)':
iupPPlotInteraction.cpp:561:13: warning: unused variable 'theNow2'
[-Wunused-variable]
float theNow2 = mPPlot.mYTrafo->TransformBack (theNowPixels);
^
iupPPlotInteraction.cpp: In member function 'virtual bool
PDeleteInteraction::Impl_Calculate(Painte
&, PPlot&)':
iupPPlotInteraction.cpp:602:21: warning: unused variable 'theDataDrawer'
[-Wunused-variable]
DataDrawerBase *theDataDrawer = theContainer.GetDataDrawer (theI);
^
iupPPlotInteraction.cpp: In member function 'bool
InteractionContainer::HandleMouseEvent(const PMou
eEvent&)':
iupPPlotInteraction.cpp:804:36: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
for (int theI=0;theI<mList.size ();theI++) {
^
iupPPlotInteraction.cpp: In member function 'bool
InteractionContainer::HandleKeyEvent(const PKeyEv
nt&)':
iupPPlotInteraction.cpp:814:36: warning: comparison between signed and
unsigned integer expressions
[-Wsign-compare]
for (int theI=0;theI<mList.size ();theI++) {
^
Tecmake: compiling iup_pplot.cpp ...
C:/mingw32-4.8.2-posix-dwarf/bin/g++ -c -Wall -O2 -I../include -I../src
-I../../cd/include
-IC:/mi
gw32-4.8.2-posix-dwarf/include -D_IUP_PPLOT_ -DCD_NO_OLD_INTERFACE
-DTEC_UNAME=dllw4
-DTEC_SYSNAME
Win32 -DTEC_LITTLEENDIAN -DTEC_32 -DWIN32 -DNDEBUG -o
../obj/iup_pplot/dllw4/iup_pplot.o iup_pplot.
pp
In file included from iup_pplot.cpp:60:0:
iupPPlot.h:14:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4786)
^
In file included from iup_pplot.cpp:60:0:
iupPPlot.h: In constructor 'PStyle::PStyle()':
iupPPlot.h:61:8: warning: 'PStyle::mMarkSize' will be initialized after
[-Wreorder]
int mMarkSize;
^
iupPPlot.h:60:8: warning: 'int PStyle::mMarkStyle' [-Wreorder]
int mMarkStyle;
^
iupPPlot.h:55:4: warning: when initialized here [-Wreorder]
PStyle (): mFontSize(0), mFontStyle(-1), mPenWidth(1), mPenStyle(0),
mMarkSize(7), mMarkStyle(3
{};
^
iupPPlot.h: In destructor 'virtual
CalculatedPlotData::~CalculatedPlotData()':
iupPPlot.h:126:35: warning: deleting object of abstract class type
'CalculatedDataBase' which has n
n-virtual destructor will cause undefined behaviour
[-Wdelete-non-virtual-dtor]
~CalculatedPlotData () {delete mCalculatedData;}
^
In file included from iup_pplot.cpp:60:0:
iupPPlot.h: In constructor 'DataDrawerBase::DataDrawerBase()':
iupPPlot.h:254:10: warning: 'DataDrawerBase::mPlotIndex' will be initialized
after [-Wreorder]
int mPlotIndex;
^
iupPPlot.h:245:9: warning: 'bool DataDrawerBase::mHasMarks' [-Wreorder]
bool mHasMarks;
^
iupPPlot.h:236:4: warning: when initialized here [-Wreorder]
DataDrawerBase (): mXTrafo (0), mYTrafo (0), mDrawFast (false),
mPlotCount (1), mPlotIndex (0),
mHasMarks(false), mShowValues(false), mMode(0) {};
^
iupPPlot.h: In constructor 'TickInfo::TickInfo()':
iupPPlot.h:361:11: warning: 'TickInfo::mFormatString' will be initialized
after [-Wreorder]
string mFormatString;
^
iupPPlot.h:355:9: warning: 'bool TickInfo::mTicksOn' [-Wreorder]
bool mTicksOn;
^
iupPPlot.h:347:4: warning: when initialized here [-Wreorder]
TickInfo ():mAutoTick (true), mAutoTickSize (true), mTickDivision(1),
mMajorTickSpan(1), mMajor
ickScreenSize (1), mMinorTickScreenSize (1), mFormatString ("%.0f"),
mTicksOn (true) {};
^
iupPPlot.h: In constructor 'AxisSetup::AxisSetup()':
iupPPlot.h:387:9: warning: 'AxisSetup::mLabelCentered' will be initialized
after [-Wreorder]
bool mLabelCentered;
^
iupPPlot.h:385:9: warning: 'bool AxisSetup::mDiscrete' [-Wreorder]
bool mDiscrete;
^
iupPPlot.h:368:4: warning: when initialized here [-Wreorder]
AxisSetup (): mMin(0),mMax(0), mAutoScaleMin(true), mAutoScaleMax
(true), mAscending (true), mL
gScale(false), mCrossOrigin(true), mMaxDecades(-1), mLogFactor (1), mLogBase
(10), mLabelCentered(t
ue), mDiscrete(false) {};
^
In file included from iup_pplot.cpp:62:0:
iuppplot.hpp: In constructor 'PPainterIup::PPainterIup(Ihandle*)':
iuppplot.hpp:109:13: warning: 'PPainterIup::_mouseDown' will be initialized
after [-Wreorder]
short int _mouseDown;
^
iuppplot.hpp:94:7: warning: 'int PPainterIup::_currentDataSetIndex'
[-Wreorder]
int _currentDataSetIndex; /* dataset index used for DS_ attributes in
SetAttribute and GetAttri
ute */
^
iup_pplot.cpp:834:1: warning: when initialized here [-Wreorder]
PPainterIup::PPainterIup(Ihandle *ih) :
^
In file included from iup_pplot.cpp:62:0:
iuppplot.hpp:94:7: warning: 'PPainterIup::_currentDataSetIndex' will be
initialized after [-Wreorde
]
int _currentDataSetIndex; /* dataset index used for DS_ attributes in
SetAttribute and GetAttri
ute */
^
iuppplot.hpp:93:7: warning: 'int PPainterIup::_redraw' [-Wreorder]
int _redraw; /* must update the double buffer before flush
*/
^
iup_pplot.cpp:834:1: warning: when initialized here [-Wreorder]
PPainterIup::PPainterIup(Ihandle *ih) :
^
iup_pplot.cpp: In function 'char* iPPlotGetPlotFontStyle(int)':
iup_pplot.cpp:938:66: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
char* style_str[4] = {"PLAIN", "BOLD", "ITALIC", "BOLDITALIC"};
^
iup_pplot.cpp:938:66: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp:938:66: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp:938:66: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp: In function 'char* iPPlotGetPlotPenStyle(int)':
iup_pplot.cpp:949:87: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
char* style_str[5] = {"CONTINUOUS", "DASHED", "DOTTED", "DASH_DOT",
"DASH_DOT_DOT"};
^
iup_pplot.cpp:949:87: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp:949:87: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp:949:87: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp:949:87: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strin
s]
iup_pplot.cpp: In function 'char* iPPlotGetPlotMarkStyle(int)':
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
char* style_str[9] = {"PLUS", "STAR", "CIRCLE", "X", "BOX", "DIAMOND",
"HOLLOW_CIRCLE", "HOLLO
_BOX", "HOLLOW_DIAMOND"};
^
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:976:123: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp: In function 'char* iPPlotGetLegendPosAttrib(Ihandle*)':
iup_pplot.cpp:1094:79: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
char* legendpos_str[4] = {"TOPLEFT", "TOPRIGHT", "BOTTOMLEFT",
"BOTTOMRIGHT"};
^
iup_pplot.cpp:1094:79: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:1094:79: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp:1094:79: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
iup_pplot.cpp: In function 'char* iPPlotGetGridAttrib(Ihandle*)':
iup_pplot.cpp:1338:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "YES";
^
iup_pplot.cpp:1340:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "HORIZONTAL";
^
iup_pplot.cpp:1342:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "VERTICAL";
^
iup_pplot.cpp:1344:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "NO";
^
iup_pplot.cpp: In function 'char* iPPlotGetAxisXScaleAttrib(Ihandle*)':
iup_pplot.cpp:2325:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOG10";
^
iup_pplot.cpp:2327:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOG2";
^
iup_pplot.cpp:2329:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOGN";
^
iup_pplot.cpp:2332:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LIN";
^
iup_pplot.cpp: In function 'char* iPPlotGetAxisYScaleAttrib(Ihandle*)':
iup_pplot.cpp:2342:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOG10";
^
iup_pplot.cpp:2344:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOG2";
^
iup_pplot.cpp:2346:14: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LOGN";
^
iup_pplot.cpp:2349:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
return "LIN";
^
iup_pplot.cpp: In function 'Iclass* iPPlotNewClass()':
iup_pplot.cpp:3319:12: warning: deprecated conversion from string constant
to 'char*' [-Wwrite-stri
gs]
ic->name = "pplot";
^
Tecmake: linking iup_pplot.dll ...
C:/mingw32-4.8.2-posix-dwarf/bin/g++ -shared -o
../lib/dllw4/iup_pplot.dll -Wl,--out-implib=../lib/
llw4/libiup_pplot.a ../obj/iup_pplot/dllw4/iupPPlot.o
../obj/iup_pplot/dllw4/iupPPlotInteraction.o
./obj/iup_pplot/dllw4/iup_pplot.o
./iup_pplot.def -L../lib/dllw4 -L../../cd/lib/dllw4 -LC:/mingw
2-4.8.2-posix-dwarf/lib -liup -liupcd -lcd -lfreetype6 -lzlib1 -lkernel32
-luser32
-lgdi32 -lwinspo
l -lcomdlg32 -ladvapi32 -lshell32 -luuid -lole32 -loleaut32 -lcomctl32
Tecmake: Dynamic Library (../lib/dllw4/iup_pplot.dll) Done
Thanks
victor
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users