[Bug c++/80594] error: ‘SDL_Window’ does not name a type
d25fe0be at outlook dot com
gcc-bugzilla@gcc.gnu.org
Tue May 2 13:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80594
d25fe0be@ <d25fe0be at outlook dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |d25fe0be at outlook dot com
--- Comment #1 from d25fe0be@ <d25fe0be at outlook dot com> ---
$ grep SDL_Window test.ii
SDL_Window* window;
$
Just as what the compiler says, SDL_Window is not declared (at least in the
attached preprocessed source file).
Make sure you have included the appropriate header files, and SDL_Window's
declaration is not guarded by some macro(s) that are missing when compiling
with GCC.
More information about the Gcc-bugs
mailing list