1
General / SFML & Qt Error
« on: March 23, 2011, 07:34:05 pm »
Hi!
I am not completely sure this problem is related with SFML AND qt or if it's just random.
I've been programming an application in qt and I was just gonna start the sfml part but whenever I include a
sfml header, no matter what header I chose, I receive this error on line 37 in the file which includes the sfml header:
Then you may ask; what's on line 37... Well:
I am not completely sure this problem is related with SFML AND qt or if it's just random.
I've been programming an application in qt and I was just gonna start the sfml part but whenever I include a
sfml header, no matter what header I chose, I receive this error on line 37 in the file which includes the sfml header:
Quote
1>c:\...\mainwindow.h(37) : error C2143: syntax error : missing '}' before '('
Then you may ask; what's on line 37... Well:
Code: [Select]
// Mainwindow.h
namespace EDIT
{
enum ACTION
{
UNDO,
REDO,
CUT,
COPY,
PASTE,
DELETE // <-- This is line 37
};
}
I have no clue what's causing this problem but any help is greatly appreciated