YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

y_va_impl error

Open denisbranisteanu opened this issue 1 year ago • 5 comments

Hello, I think this is an issued related to the latest version. I tried to create a gamemode and i've only included the YSI packages.

main file:

#include "constants"

#include "crashdetect"
#include "a_mysql"

#include "YSI_Coding\y_stringhash"
#include "YSI_Coding\y_timers"
#include "YSI_Coding\y_inline"
#include "YSI_Coding\y_hooks"
#include "YSI_Coding\y_va"

// #include "YSI_Extra\y_inline_bcrypt"
#include "YSI_Extra\y_inline_mysql"

#include "YSI_Data\y_sparsearray"
#include "YSI_Data\y_iterate"
#include "YSI_Data\y_bit"

#include "YSI_Visual\y_commands"
#include "YSI_Core\y_utils"

main() 
{

}

constants file:

#define CGEN_MEMORY (90000)
#define MAX_PLAYERS (50)

#define YSI_NO_HEAP_MALLOC
#define YSI_NO_MODE_CACHE
#define YSI_NO_CACHE_MESSAGE

#define FOREACH_NO_LOCALS
#define FOREACH_NO_BOTS

#include "a_samp"

And this is what I get when I try to build the gamemode:

PS C:\Users\Denis\Desktop\Hey> sampctl p build
C:\Users\Denis\Desktop\Hey\dependencies\YSI-Includes\YSI_Coding\y_va\y_va_impl.inc:272 (error) expected token: ")", but found "("
C:\Users\Denis\Desktop\Hey\dependencies\YSI-Includes\YSI_Coding\y_va\y_va_impl.inc:272 (error) invalid expression, assumed zero
C:\Users\Denis\Desktop\Hey\dependencies\YSI-Includes\YSI_Coding\y_va\y_va_impl.inc:272 (error) expression has no effect
C:\Users\Denis\Desktop\Hey\dependencies\YSI-Includes\YSI_Coding\y_va\y_va_impl.inc:272 (fatal) too many error messages on one line
Build encountered fatal error

denisbranisteanu avatar Oct 30 '22 15:10 denisbranisteanu