Hi Martin,
It´s a little messy but let me put here the log:
Compiling simulator/main.cpp
In file included from gui/src/model/Model.cpp:1:0:
gui/include/gui/model/Model.hpp: In constructor 'Model::Model()':
gui/include/gui/model/Model.hpp:70:20: error: 'Model::modelListener' will be initialized after [-Werror=reorder]
ModelListener* modelListener;
^~~~~~~~~~~~~
gui/include/gui/model/Model.hpp:64:10: error: 'int16_t Model::hour'
[-Werror=reorder]
int16_t hour;
^~~~
gui/src/model/Model.cpp:8:1: error: when initialized here
[-Werror=reorder]
Model::Model() : modelListener(0), hour(0), minute(0)
^~~~~
cc1plus.exe: all warnings being treated as errors
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/gui/src/model/Model.o' failed
make[2]: *** [build/MINGW32_NT-6.2/gui/src/model/Model.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from
generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp:9:0,
from gui/include/gui/screen1_screen/Screen1View.hpp:4,
from
generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:17,
from gui/include/gui/common/FrontendHeap.hpp:4,
from
touchgfx//framework/include/common/TouchGFXInit.hpp:25,
from simulator/main.cpp:3:
gui/include/gui/screen1_screen/Screen1Presenter.hpp:11:1: error:
expected initializer before 'class'
class Screen1View;
^~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:37:33: error:
expected ')' before '&' token
Screen1Presenter(Screen1View& v);
^
gui/include/gui/screen1_screen/Screen1Presenter.hpp:56:5: error:
'Screen1View' does not name a type
Screen1View& view;
^~~~~~~~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:13:7: error: 'class
Screen1Presenter' only defines private constructors and has no friends
[-Werror=ctor-dtor-privacy]
class Screen1Presenter : public Presenter, public ModelListener
^~~~~~~~~~~~~~~~
In file included from
generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp:9:0,
from gui/include/gui/screen1_screen/Screen1View.hpp:4,
from gui/src/screen1_screen/Screen1View.cpp:1:
gui/include/gui/screen1_screen/Screen1Presenter.hpp:11:1: error:
expected initializer before 'class'
class Screen1View;
^~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:37:33: error:
expected ')' before '&' token
Screen1Presenter(Screen1View& v);
^
gui/include/gui/screen1_screen/Screen1Presenter.hpp:56:5: error:
'Screen1View' does not name a type
Screen1View& view;
^~~~~~~~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:13:7: error: 'class
Screen1Presenter' only defines private constructors and has no friends
[-Werror=ctor-dtor-privacy]
class Screen1Presenter : public Presenter, public ModelListener
^~~~~~~~~~~~~~~~
In file included from
generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp:9:0,
from gui/include/gui/screen1_screen/Screen1View.hpp:4,
from
generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:17,
from gui/include/gui/common/FrontendHeap.hpp:4,
from
generated/gui_generated/src/common/FrontendApplicationBase.cpp:6:
gui/include/gui/screen1_screen/Screen1Presenter.hpp:11:1: error:
expected initializer before 'class'
class Screen1View;
^~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:37:33: error:
expected ')' before '&' token
Screen1Presenter(Screen1View& v);
^
gui/include/gui/screen1_screen/Screen1Presenter.hpp:56:5: error:
'Screen1View' does not name a type
Screen1View& view;
^~~~~~~~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:13:7: error: 'class
Screen1Presenter' only defines private constructors and has no friends
[-Werror=ctor-dtor-privacy]
class Screen1Presenter : public Presenter, public ModelListener
^~~~~~~~~~~~~~~~
In file included from
generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:17:0,
from gui/include/gui/common/FrontendHeap.hpp:4,
from
touchgfx//framework/include/common/TouchGFXInit.hpp:25,
from simulator/main.cpp:3:
gui/include/gui/screen1_screen/Screen1View.hpp:9:1: error: expected
initializer before 'class'
class Screen1View : public Screen1ViewBase
^~~~~
cc1plus.exe: all warnings being treated as errors
In file included from gui/src/screen1_screen/Screen1View.cpp:1:0:
gui/include/gui/screen1_screen/Screen1View.hpp:9:1: error: expected
initializer before 'class'
class Screen1View : public Screen1ViewBase
^~~~~
cc1plus.exe: all warnings being treated as errors
In file included from
generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:17:0,
from gui/include/gui/common/FrontendHeap.hpp:4,
from
generated/gui_generated/src/common/FrontendApplicationBase.cpp:6:
gui/include/gui/screen1_screen/Screen1View.hpp:9:1: error: expected
initializer before 'class'
class Screen1View : public Screen1ViewBase
^~~~~
cc1plus.exe: all warnings being treated as errors
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/gui/src/screen1_screen/Screen1View.o' failed
make[2]: *** [build/MINGW32_NT-6.2/gui/src/screen1_screen/Screen1View.o]
Error 1
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/simulator/main.o' failed
make[2]: *** [build/MINGW32_NT-6.2/simulator/main.o] Error 1
In file included from gui/src/screen2_screen/Screen2View.cpp:1:0:
gui/include/gui/screen2_screen/Screen2View.hpp:9:1: error: expected
initializer before 'class'
class Screen2View : public Screen2ViewBase
^~~~~
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o'
failed
make[2]: ***
[build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o]
Error 1
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2View.o' failed
make[2]: *** [build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2View.o]
Error 1
In file included from
generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp:9:0,
from gui/include/gui/screen1_screen/Screen1View.hpp:4,
from gui/src/screen1_screen/Screen1Presenter.cpp:1:
gui/include/gui/screen1_screen/Screen1Presenter.hpp:11:1: error:
expected initializer before 'class'
class Screen1View;
^~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:37:33: error:
expected ')' before '&' token
Screen1Presenter(Screen1View& v);
^
gui/include/gui/screen1_screen/Screen1Presenter.hpp:56:5: error:
'Screen1View' does not name a type
Screen1View& view;
^~~~~~~~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:13:7: error: 'class
Screen1Presenter' only defines private constructors and has no friends
[-Werror=ctor-dtor-privacy]
class Screen1Presenter : public Presenter, public ModelListener
^~~~~~~~~~~~~~~~
In file included from gui/src/screen1_screen/Screen1Presenter.cpp:1:0:
gui/include/gui/screen1_screen/Screen1View.hpp:9:1: error: expected
initializer before 'class'
class Screen1View : public Screen1ViewBase
^~~~~
cc1plus.exe: all warnings being treated as errors
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/gui/src/screen1_screen/Screen1Presenter.o' failed
make[2]: ***
[build/MINGW32_NT-6.2/gui/src/screen1_screen/Screen1Presenter.o] Error 1
In file included from
generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp:9:0,
from
generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp:4:
gui/include/gui/screen1_screen/Screen1Presenter.hpp:11:1: error:
expected initializer before 'class'
class Screen1View;
^~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:37:33: error:
expected ')' before '&' token
Screen1Presenter(Screen1View& v);
^
gui/include/gui/screen1_screen/Screen1Presenter.hpp:56:5: error:
'Screen1View' does not name a type
Screen1View& view;
^~~~~~~~~~~
gui/include/gui/screen1_screen/Screen1Presenter.hpp:13:7: error: 'class
Screen1Presenter' only defines private constructors and has no friends
[-Werror=ctor-dtor-privacy]
class Screen1Presenter : public Presenter, public ModelListener
^~~~~~~~~~~~~~~~
cc1plus.exe: all warnings being treated as errors
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/generated/gui_generated/src/screen1_screen/Screen1ViewBase.o'
failed
make[2]: ***
[build/MINGW32_NT-6.2/generated/gui_generated/src/screen1_screen/Screen1ViewBase.o]
Error 1
In file included from gui/src/screen2_screen/Screen2Presenter.cpp:1:0:
gui/include/gui/screen2_screen/Screen2View.hpp:9:1: error: expected
initializer before 'class'
class Screen2View : public Screen2ViewBase
^~~~~
simulator/gcc/Makefile:211: recipe for target
'build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2Presenter.o' failed
make[2]: ***
[build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2Presenter.o] Error 1
simulator/gcc/Makefile:173: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
simulator/gcc/Makefile:31: recipe for target 'all' failed
make: *** [all] Error 2
Sorry for this log.
Take a look and tell me your opinion regarding the warnings/errors.
Regards,
Daniel.
Em 31/01/2019 06:22, ST Community escreveu: