Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
~/workdir/hello_world/hello_world-build/debug$ make
[  6%] Built target internal_create_launchers
[ 10%] Built target internal_import_manifest_dirs
[ 20%] Built target internal_import_resource_dirs
[ 24%] Building CXX object src/CMakeFiles/hello_world.dir/object_model/hello_world_object.cc.o
In file included from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/../hello_world_object.h:12:0,
                 from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:10:
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/../object_model/common.h:457:2: error: extra ‘;’ [-Werror=pedantic]
 };  // namespace hello_world
  ^
In file included from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/../hello_world_object.h:13:0,
                 from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:10:
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/../object_model/character.h:30:31: error: extra ‘;’ [-Werror=pedantic]
   DECLARE_CLASS_PTR(Character);
                               ^
In file included from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/../hello_world_object.h:13:0,
                 from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:10:
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/../object_model/character.h:147:2: error: extra ‘;’ [-Werror=pedantic]
 };  // namespace hello_world
  ^
In file included from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/../hello_world_object.h:14:0,
                 from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:10:
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/../object_model/user.h:31:26: error: extra ‘;’ [-Werror=pedantic]
   DECLARE_CLASS_PTR(User);
                          ^
In file included from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/../hello_world_object.h:14:0,
                 from /home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:10:
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/../object_model/user.h:128:2: error: extra ‘;’ [-Werror=pedantic]
 };  // namespace hello_world
  ^
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:476:28: error: extra ‘;’ [-Werror=pedantic]
 DEFINE_CLASS_PTR(Character);
                            ^
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:512:2: error: extra ‘;’ [-Werror=pedantic]
 };
  ^
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:836:23: error: extra ‘;’ [-Werror=pedantic]
 DEFINE_CLASS_PTR(User);
                       ^
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:854:2: error: extra ‘;’ [-Werror=pedantic]
 };
  ^
/home/rcat/workdir/hello_world/hello_world-source/src/object_model/hello_world_object.cc:1663:2: error: extra ‘;’ [-Werror=pedantic]
 };  // namespace hello_world
  ^
cc1plus: all warnings being treated as errors
src/CMakeFiles/hello_world.dir/build.make:203: recipe for target 'src/CMakeFiles/hello_world.dir/object_model/hello_world_object.cc.o' failed
make[2]: *** [src/CMakeFiles/hello_world.dir/object_model/hello_world_object.cc.o] Error 1
CMakeFiles/Makefile2:228: recipe for target 'src/CMakeFiles/hello_world.dir/all' failed
make[1]: *** [src/CMakeFiles/hello_world.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2