Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacbookPro:teeuniverse john$ make
- Scanning dependencies of target teeuniverse_shared
- [ 0%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/adler32.c.o
- [ 1%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/compress.c.o
- [ 2%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/crc32.c.o
- [ 2%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/deflate.c.o
- [ 3%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/infback.c.o
- [ 4%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/inffast.c.o
- [ 4%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/inflate.c.o
- /Users/john/Desktop/teeuniverse/src/external/zlib/inflate.c:1507:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
- if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
- ~~~ ^
- 1 warning generated.
- [ 5%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/inftrees.c.o
- [ 6%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/trees.c.o
- [ 6%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/uncompr.c.o
- [ 7%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/zlib/zutil.c.o
- [ 7%] Building C object CMakeFiles/teeuniverse_shared.dir/src/external/json-parser/json.c.o
- [ 8%] Building CXX object CMakeFiles/teeuniverse_shared.dir/src/shared/archivefile.cpp.o
- /Users/john/Desktop/teeuniverse/src/shared/archivefile.cpp:276:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
- if(DataId < 0 || DataId >= m_RawDatas.size())
- ~~~~~~ ^ ~
- 1 warning generated.
- [ 9%] Building CXX object CMakeFiles/teeuniverse_shared.dir/src/shared/kernel.cpp.o
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:35:
- /Users/john/Desktop/teeuniverse/src/generated/assets/character.h:207:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/character.h:260:89: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeletePart(const CSubPath& SubPath) { m_Part.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:49:
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:219:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:234:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:249:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:264:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:334:95: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteBgGroup(const CSubPath& SubPath) { m_BgGroup.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:336:95: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteFgGroup(const CSubPath& SubPath) { m_FgGroup.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:338:99: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteZoneLayer(const CSubPath& SubPath) { m_ZoneLayer.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/map.h:340:103: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteEntityLayer(const CSubPath& SubPath) { m_EntityLayer.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:50:
- /Users/john/Desktop/teeuniverse/src/generated/assets/mapgroup.h:180:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/mapgroup.h:257:91: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteLayer(const CSubPath& SubPath) { m_Layer.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:51:
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerquads.h:440:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerquads.h:935:89: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteQuad(const CSubPath& SubPath) { m_Quad.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:54:
- /Users/john/Desktop/teeuniverse/src/generated/assets/mapentities.h:203:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/mapentities.h:280:93: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteEntity(const CSubPath& SubPath) { m_Entity.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:55:
- /Users/john/Desktop/teeuniverse/src/generated/assets/zonetype.h:187:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/zonetype.h:245:91: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteIndex(const CSubPath& SubPath) { m_Index.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:57:
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeleton.h:323:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeleton.h:415:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeleton.h:534:89: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteBone(const CSubPath& SubPath) { m_Bone.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeleton.h:536:91: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteLayer(const CSubPath& SubPath) { m_Layer.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:58:
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:352:3: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:392:98: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteKeyFrame(const CSubPath& SubPath) { m_KeyFrame.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:539:3: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:579:98: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteKeyFrame(const CSubPath& SubPath) { m_KeyFrame.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:663:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:683:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:688:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:694:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:730:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:750:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:755:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:761:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:797:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:817:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:822:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:828:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:1000:107: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteLocalBoneAnim(const CSubPath& SubPath) { m_LocalBoneAnim.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:1004:109: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteParentBoneAnim(const CSubPath& SubPath) { m_ParentBoneAnim.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonanimation.h:1008:109: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteLayerAnimation(const CSubPath& SubPath) { m_LayerAnimation.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:59:
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonskin.h:276:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/skeletonskin.h:466:93: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteSprite(const CSubPath& SubPath) { m_Sprite.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:62:
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:252:3: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:369:94: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteVertex(const CSubPath& SubPath) { m_Vertex.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:448:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:524:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:529:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:535:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayerobjects.h:713:93: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteObject(const CSubPath& SubPath) { m_Object.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:63:
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:254:3: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:411:94: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteSprite(const CSubPath& SubPath) { m_Sprite.remove_index(SubPath.GetId()); }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:486:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:506:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:511:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:517:2: warning: control may reach end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/material.h:714:91: warning: control reaches end of non-void function [-Wreturn-type]
- inline int DeleteLayer(const CSubPath& SubPath) { m_Layer.remove_index(SubPath.GetId()); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:48:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/image.h:36:
- /Users/john/Desktop/teeuniverse/src/shared/tl/array2d.h:147:2: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/image.h:173:69: note: in instantiation of member function 'array2d<unsigned char, allocator_default<unsigned char>
- >::set_clamp' requested here
- inline void SetData(const CSubPath& SubPath, uint8 Value) { m_Data.set_clamp(SubPath.GetId(), SubPath.GetId2(), Value); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:48:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/image.h:36:
- /Users/john/Desktop/teeuniverse/src/shared/tl/array2d.h:147:2: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/maplayertiles.h:211:98: note: in instantiation of member function 'array2d<CAsset_MapLayerTiles::CTile,
- allocator_copy<CAsset_MapLayerTiles::CTile> >::set_clamp' requested here
- inline void SetTile(const CSubPath& SubPath, const CAsset_MapLayerTiles::CTile& Value) { m_Tile.set_clamp(SubPath.GetId(), SubPath.GetId2(), Value); }
- ^
- In file included from /Users/john/Desktop/teeuniverse/src/shared/kernel.cpp:26:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/components/assetsmanager.h:25:
- In file included from /Users/john/Desktop/teeuniverse/src/shared/assets/assetspackage.h:22:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/allassets.h:48:
- In file included from /Users/john/Desktop/teeuniverse/src/generated/assets/image.h:36:
- /Users/john/Desktop/teeuniverse/src/shared/tl/array2d.h:147:2: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- /Users/john/Desktop/teeuniverse/src/generated/assets/mapzonetiles.h:182:97: note: in instantiation of member function 'array2d<CAsset_MapZoneTiles::CTile,
- allocator_copy<CAsset_MapZoneTiles::CTile> >::set_clamp' requested here
- inline void SetTile(const CSubPath& SubPath, const CAsset_MapZoneTiles::CTile& Value) { m_Tile.set_clamp(SubPath.GetId(), SubPath.GetId2(), Value); }
- ^
- 60 warnings generated.
- [ 9%] Building CXX object CMakeFiles/teeuniverse_shared.dir/src/shared/system/debug.cpp.o
- In file included from /Users/john/Desktop/teeuniverse/src/shared/system/debug.cpp:48:
- In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
- In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
- In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
- In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:159:
- /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: error: redeclaration of 'pi' with a different type:
- 'const double_t' (aka 'const double') vs 'const float'
- extern const double_t pi __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
- ^
- /Users/john/Desktop/teeuniverse/src/shared/math/math.h:116:13: note: previous definition is here
- const float pi = 3.1415926535897932384626433f;
- ^
- 1 error generated.
- make[2]: *** [CMakeFiles/teeuniverse_shared.dir/src/shared/system/debug.cpp.o] Error 1
- make[1]: *** [CMakeFiles/teeuniverse_shared.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement