IS4Code / PawnPlus

A SA-MP plugin enhancing the capabilities of the Pawn programming language
MIT License
102 stars 17 forks source link

undefined symbol "await" #23

Closed silaeviddqd closed 4 years ago

silaeviddqd commented 4 years ago

Hi.

I'm using sampctl and installed your plugin to use tasks!

The problem is when I'm trying to build the project it fails with an error says: '(error) undefined symbol "await"'

Any ideas why this might happen and how to fix it?

Thanks!

IS4Code commented 4 years ago

Most likely you haven't defined the necessary macro to enable this piece of syntax. You can either define PP_SYNTAX_AWAIT to enable await or just PP_SYNTAX to enable all custom pieces of syntax.

#define PP_SYNTAX
#include <PawnPlus>
silaeviddqd commented 4 years ago

@IllidanS4

Wow! Quickest answer on Github in my life! Thanks a lot! Have a nice day!

Resolved.