Estoy haciendo un motor para ajedrez, y
gcc me está dando varios errores en algunas clases, que no consigo averiguar la razón...
12 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscmov_validos.h `cFlags' does not name a type
4 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::cFlags' within `cMov_Validos'
9 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::ObtenerFlags' within `cMov_Validos'
14 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::EsMovimientoValido' within `cMov_Validos'
22 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::EsControl' within `cMov_Validos'
40 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::EsSoloCaptura' within `cMov_Validos'
48 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::PonerFlags' within `cMov_Validos'
53 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::PonerMovimientoValido' within `cMov_Validos'
61 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::PonerSoloCaptura' within `cMov_Validos'
69 C:Documents and SettingsydiouriMis documentosOtrosdevcppyachesscflags.cpp cannot declare member function `cMov_Validos::cFlags::PonerControl' within `cMov_Validos'
Os dejo los ficheros aquí: [attachment=0:3hx040nr]yachess.zip[/attachment:3hx040nr]
¡Muchas gracias!