VFS 8.1 and complie under gcc version 15

60 views
Skip to first unread message

jiri kolder

unread,
Mar 12, 2025, 6:41:10 AM3/12/25
to multisoft FlagShip
Hello,

will be made VFS 8.X.X  for complie under gcc version 15 ?

thank you

Paul

unread,
Mar 12, 2025, 6:48:09 AM3/12/25
to multisoft FlagShip
The gcc compiler (and associated libraries) is used by default for the Linux port of FlagShip.

Two compilers are available for the Windows port. No additional compilers are planned.

Paul

unread,
Sep 1, 2026, 9:11:26 AMSep 1
to multisoft FlagShip
When using gcc 14.x or 15.x (or newer, check by "cc -v"), you may encounter some warnings or errors, such as:
  ... warning: old-style function definition [-Wold-style-definition]
  ... error: initialization of ‘variable * (*)(void)’ ... [-Wincompatible-pointer-types]
etc.
Fix this by modifying the FS8config_64 (and/or FS8config_32) file:
  $ cd /usr/local/FlagShip8/etc
  $ sudo chmod 666 FS8config*
  $ gedit FS8config_64 (or FS8config_32)

add  "-std=gnu17"  to line 26 so that it reads:
 CCNAME : cc -std=gnu17 -pipe -m64 -Wno-trigraphs -fPIC -DFlagShip -DFlagShip8 -DFS_LINUX64
then save the config file and run the FlagShip compiler again.

Reply all
Reply to author
Forward
0 new messages