ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
330 stars 89 forks source link

build failure/error using clang #37

Closed ryzom-pipeline closed 10 years ago

ryzom-pipeline commented 11 years ago

Original report by John Smith (Bitbucket: lbalbalba, GitHub: lbalbalba).


I get the following error compiling with clang :

#!shell

file included from /usr/local/src/ryzomcore/code/ryzom/server/src/entities_game_service/phrase_manager/combat_attacker.cpp:21:
In file included from /usr/local/src/ryzomcore/code/ryzom/server/src/entities_game_service/phrase_manager/combat_attacker.h:22:
In file included from /usr/local/src/ryzomcore/code/ryzom/server/src/entities_game_service/player_manager/character.h:61:
/usr/local/src/ryzomcore/code/ryzom/server/src/entities_game_service/player_manager/character_interface.h:25:7: error: forward declaration of class cannot have a nested name specifier
class NLNET::CMessage;
      ^~~~~~~
1 error generated.
ryzom-pipeline commented 10 years ago

Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).


Fixed by @kaetemi in 48640d771a53