Skip to content

Commit

Permalink
fbdocs: wiki snapshot 2023.05.14
Browse files Browse the repository at this point in the history
- CompilerErrMsg: update warning and error messages
  • Loading branch information
jayrm committed May 14, 2023
1 parent b1f8a8a commit 2f16ab5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/manual/cache/CompilerErrMsg.wakka
Expand Up @@ -50,8 +50,10 @@ During the program compilation three types of errors can arise:
- //43(0) Argument count mismatch//
- //44(1) Suffix ignored//
- //45(1) FOR counter variable is unable to exceed limit value//
- //46(0) #cmdline ignored//
- //46(1) #cmdline ignored//
- //47(1) Use of reserved global or backend symbol//
- //48(1) Expected digit//
- //49(1) Up-casting discards initializer(s)//

==Compiler Error messages:==
The error messages stop the compilation after 10 errors (see the -maxerr command-line option to change that default value) or a fatal error occurred, and require a correction by the user before the compilation can be continued. The compiler signals the lines where the errors have been found, so the correction can be done quickly. In a few cases the place pointed at by the error messages is not where the errors can be found, it's the place where the compiler has given up in waiting for something that should be somewhere.
Expand Down Expand Up @@ -270,7 +272,7 @@ During the program compilation three types of errors can arise:
- //212 Destructor declared ABSTRACT//
- //213 Member cannot be static//
- //214 Member isn't static//
- //215 Only static members can be accessed from static functions//
- //215 Only static members can be accessed from static functions and parameter initializers//
- //216 The PRIVATE and PUBLIC attributes are not allowed with REDIM, COMMON or EXTERN//
- //217 STATIC used here, but not the in the DECLARE statement//
- //218 CONST used here, but not the in the DECLARE statement//
Expand Down Expand Up @@ -381,6 +383,9 @@ During the program compilation three types of errors can arise:
- //323 Invalid CASE range, start value is greater than the end value//
- //324 Fixed-length string combined with BYREF (not supported)//
- //325 Illegal use of reserved symbol//
- //326 Expected ',' or ';'//
- //327 Expected file number expression//
- //328 Malformed SOURCE_DATE_EPOCH environment variable//


==Third party programs errors==
Expand Down

0 comments on commit 2f16ab5

Please sign in to comment.