XusinboyBekchanov / MyFbFramework

My FreeBasic Framework
Other
65 stars 18 forks source link

Compiler warning - Version 1.20.0 (2024-04-01) #159

Closed chunmingwang closed 7 months ago

chunmingwang commented 7 months ago

Compiler warning - Version 1.20.0 (2024-04-01)

Please see detials with following logs:

14:18:12: Compilation: "F:\OfficePC_Update\!FB\fbc\fbc64.exe"  -b "mff.bi" -exx -v -x "../mff64.dll" -gen gas64 -dll "mff.rc" -i "F:\OfficePC_Update\!FB\vfbe\Controls\MyFbFramework" -i "F:\OfficePC_Update\!FB\WinFBX" -d _DebugWindow_=594262

14:18:12: FreeBASIC Compiler - Version 1.20.0 (2024-04-01), built for win64 (64bit) 
14:18:12: Copyright (C) 2004-2024 The FreeBASIC development team. 
14:18:12: standalone 
14:18:12: target :       win64, x86-64, 64bit
14:18:12: backend :      gas64
14:18:12: compiling :    mff.bi -o mff.asm (main module)
F:\OfficePC_Update\!FB\vfbe\Controls\MyFbFramework\mff\Bitmap.bas(182) warning 50(2): Suspicious address expression passed to BYREF parameter, at parameter 3
Aborting due to runtime error 12 ("segmentation violation" signal)

14:18:23: Found Warnings (1 Pos), Messages (1 Pos).
14:18:23: Do not build file. Elapsed Time: 10.54 Seconds
XusinboyBekchanov commented 7 months ago

I wrote about this in the forum: https://freebasic.net/forum/viewtopic.php?p=302826#p302826

chunmingwang commented 7 months ago

thank you

chunmingwang commented 7 months ago

I test the new release:

FreeBASIC Compiler - Version 1.20.0 (2024-04-07), built for win32 (32bit) 
FreeBASIC Compiler - Version 1.20.0 (2024-04-07), built for win64 (64bit) 

no more warning in this line.

Put #F,,PixelData()

Thanks for super fast team response.