I narrowed down the code in the jpeg example causing this error.
Code: Select all
#LANG "fblite"
#include "fbgfx.bi"
declare function imageread_jpg( byval filename as zstring ptr, _
byval bpp as integer ) as FB.IMAGE ptr
Here is the error code, that I get.
F:\F Drive\Programs\Compilers Windows\Freebasic 24.0\examples\files\jpeglib\jpeptest.bas(6) error 14: Expected
identifier, found 'FB.IMAGE' byval bpp as integer ) as FB.IMAGE ptr