Languages

Menu
Sites
Language
Why tizen studio show "syntax error" message?

Hi,

I'm developing my native application using tizen studio(werable 4.0)

When I add EXPORT_API in my class, "syntax error" small popup is shown.

How can I fix it? bulding request is always succeeded.

 

==In tizen.h===========================================================================

#ifndef __TIZEN_H__
#define __TIZEN_H__
 
#include <tizen_type.h>
#include <tizen_error.h>
 
#ifndef EXPORT_API
#define EXPORT_API __attribute__((__visibility__("default")))
#endif
 
#ifndef TIZEN_DEPRECATED_API
# ifdef TIZEN_DEPRECATION
# define TIZEN_DEPRECATED_API __attribute__((__visibility__("default"), deprecated))
# else
# define TIZEN_DEPRECATED_API
# endif
#endif
 
#endif // __TIZEN_H__

 

==My test code=================================================================

#include <tizen.h>
#include <Elementary.h>
 
namespace efl_wrapper_s {
 
/*
 * Standard window + Conformant + Naviframe + Surface
 */
class EXPORT_API SCircleWindow { //Syntax error popup is shown.
public:
SCircleWindow();
virtual ~SCircleWindow();
 
void create();
void show();
void hide();
};