This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80594] error: ‘SDL_Window’ does not name a type
- From: "d25fe0be at outlook dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 May 2017 13:07:05 +0000
- Subject: [Bug c++/80594] error: ‘SDL_Window’ does not name a type
- Auto-submitted: auto-generated
- References: <bug-80594-4@http.gcc.gnu.org/bugzilla/>
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.