pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
211 stars 106 forks source link

I found a problem in y_inline_bcrypt. #657

Closed Nlkolai closed 7 months ago

Nlkolai commented 1 year ago

Hello, I found a problem.

You get errors when you compile.

YSI-Includes version: v5.09.0982 | omp version: v1.1.0.2612 Bcrypt plugin link: Bcrypt By Sreyas-Sreelal

Errors:

F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(86) : warning 203: symbol is never used: "hash"
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(89) : warning 236: unknown parameter in substitution (incorrect #define pattern)
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(89) : error 010: invalid function or declaration
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(89) : warning 215: expression has no effect
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(89) : error 001: expected token: ";", but found ")"
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(92) : warning 203: symbol is never used: "size"
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(92) : warning 203: symbol is never used: "hash"
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\..\y_bcrypt\y_bcrypt_natives.inc(111) : error 017: undefined symbol "Debug_Error"
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\y_inline_bcrypt_entry.inc(91) : warning 209: function "_YSI_BCryptIsEqualA" should return a value
F:\OpenMp\test server\qawno\include\YSI_Extra\y_inline_bcrypt\y_inline_bcrypt_entry.inc(108) : warning 202: number of arguments does not match definition
Pawn compiler 3.10.11           Copyright (c) 1997-2006, ITB CompuPhase

3 Errors.

Includes:

#include <open.mp>
#include <samp_bcrypt>
#include <YSI_Coding\y_hooks>
#include <YSI_Extra\y_inline_bcrypt>

@Y-Less

mysy00 commented 10 months ago

Use the latest commit instead. If you want to use a release, use the nightly one.

https://github.com/pawn-lang/YSI-Includes/compare/v5.09.0982...d2bb07f326e1b8cb25af7f7922ebfc6772ebbbbb

Y-Less commented 7 months ago

Fixed.