This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80594] error: ‘SDL_Window’ does not name a type


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]