Why tizen studio show “syntax error” message?
By 연호 조
30 Mar 2019 08:23
English
0 Replies
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();
};
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.