You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached creer.yaml (which has a .txt suffix so github will let me upload) passes template validation and creates clients. The c++ client fails to build:
In file included from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/ai.hpp:4:0,
from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/ai.cpp:4:
/home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/impl/botnet.hpp:23:7: error: using typedef-name ‘using Botnet = class std::shared_ptr<cpp_client::botnet::Botnet_>’ after ‘class’
class Botnet : public Game_
^
In file included from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/impl/../game.hpp:22:0,
from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/impl/botnet.hpp:13,
from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/ai.hpp:4,
from /home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/ai.cpp:4:
/home/mnuck/rebot/Cadre/Joueur.cpp/games/botnet/impl/../impl/botnet_fwd.hpp:19:40: note: ‘using Botnet = class std::shared_ptr<cpp_client::botnet::Botnet_>’ has a previous declaration here
using Botnet = std::shared_ptr<Botnet_>;
I suspect the issue is that the game is named "Botnet" and so is the in-game object.
As a creer.yaml author, I want to be blocked from instantiating clients that will not compile. Suggest an explicit check for same name.
The text was updated successfully, but these errors were encountered:
The attached creer.yaml (which has a .txt suffix so github will let me upload) passes template validation and creates clients. The c++ client fails to build:
I suspect the issue is that the game is named "Botnet" and so is the in-game object.
As a creer.yaml author, I want to be blocked from instantiating clients that will not compile. Suggest an explicit check for same name.
The text was updated successfully, but these errors were encountered: