0

i am trying to understand other compilers. Today i was trying to learn some flags and Makefile. And trying to build my test module with g++ to learn.

Now this is the my issue; vc compiling these without any error:

typedef long(__stdcall* EndScene)(LPDIRECT3DDEVICE9);

But when i try to compile it with g++ it throws:

error: typedef ‘EndScene’ is initialized (use ‘decltype’ instead)

I had tried to use decltype but i am really confused.

After RP
  • 29
  • 1

0 Answers0