About the change:
- sf.net #909: reverted changes due sf.net #893: invalid suffixes due to '-lang fb' are now pedantic warning only specified with '-w pedantic' or '-w suffix'
Tested on "fbc_win32_mingw_0594_2020-08-15.zip 2020-08-16 02:21 5.7M" from stw
- Before the change:
Code: Select all
Dim As String text
text$ = "FreeBASIC"
C:\Users\...\FBIde0.4.6r4_fbc1.07.1\FBIDETEMP.bas(2) error 148: Suffixes are only valid in -lang deprecated or fblite or qb in 'text$ = "FreeBASIC"'
C:\Users\...\FBIde0.4.6r4_fbc1.07.1\FBIDETEMP.bas(2) error 148: Suffixes are only valid in -lang deprecated or fblite or qb, found 'text' in 'text$ = "FreeBASIC"'
- After the change:
Code: Select all
Dim As String text
text$ = "FreeBASIC"
C:\Users\...\FBIde0.4.6r4_fbc1.08.0\FBIDETEMP.bas(2) warning 45(1): Suffixes are only valid in -lang, deprecated or fblite or qb
C:\Users\...\FBIde0.4.6r4_fbc1.08.0\FBIDETEMP.bas(2) error 148: Suffixes are only valid in -lang deprecated or fblite or qb, found 'text' in 'text$ = "FreeBASIC"'
- One of the compiler's error messages has been well transformed into a warning (which can be masked), but the second error message still remains.