1

when I compile my program for Linux I get this error:

error: storage class specifiers invalid for parameter declarations

This only happens on Linux as it compiles fine for Windows. The line of code is:

int Start(static const char* m_vertexshader, static const char* m_fragmentshader);

If you need any details or info just ask, using GNU C compiler (g++)

Kevin Panko
  • 8,356
  • 19
  • 50
  • 61
Boncey
  • 157
  • 1
  • 2
  • 8

1 Answers1

6

The error message is clear enough. You may not use keyword static in parameter declarations and I do not know why you use it.

Vlad from Moscow
  • 301,070
  • 26
  • 186
  • 335