From: Bart E. <be...@id...> - 2004-10-27 19:21:28
|
There is a forward reference in the ewl_dialog.h file that fails when compiling with a C++ compiler. The change to correct the problem to move one line. Change: typedef enum _Ewl_Response_Type Ewl_Response_Type; /** * @enum Ewl_Response_Type */ enum _Ewl_Response_Type { EWL_RESPONSE_OPEN = -5, EWL_RESPONSE_SAVE = -6, EWL_RESPONSE_OK = -10, EWL_RESPONSE_CANCEL = -11, EWL_RESPONSE_APPLY = -12, EWL_RESPONSE_PLAY = -20, EWL_RESPONSE_PAUSE = -21, EWL_RESPONSE_STOP = -22, EWL_RESPONSE_QUIT = -23, }; To: /** * @enum Ewl_Response_Type */ enum _Ewl_Response_Type { EWL_RESPONSE_OPEN = -5, EWL_RESPONSE_SAVE = -6, EWL_RESPONSE_OK = -10, EWL_RESPONSE_CANCEL = -11, EWL_RESPONSE_APPLY = -12, EWL_RESPONSE_PLAY = -20, EWL_RESPONSE_PAUSE = -21, EWL_RESPONSE_STOP = -22, EWL_RESPONSE_QUIT = -23, }; typedef enum _Ewl_Response_Type Ewl_Response_Type; Thanks!! -- Bart Elberg I.D.E.A.L. Technology Corporation http://www.idealcorp.com |