View Issue Details

IDProjectCategoryView StatusLast Update
0037031FPCDocumentationpublic2020-05-13 12:25
ReporterKai Burghardt Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSGNU/Linux 
Product Version3.0.4 
Fixed in Version3.3.1 
Summary0037031: the modifier “cppdecl” is listed as reserved but not explained
DescriptionThe Reference lists cppdecl as a reserved word, but neither the Reference nor Programmer’s guide actually explain it.

Otherwise the section on Modifiers explains all (?) modifiers available.
Additional InformationAlso the diagram has to be updated accordingly. “call modifiers” should list “cppdecl” too.
TagsNo tags attached.
Fixed in Revision1699
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Kai Burghardt

2020-05-07 05:42

reporter  

modifiers.syn.patch (511 bytes)   
--- modifiers.syn~	2020-05-07 03:41:30.909233392 +0000
+++ modifiers.syn	2020-05-07 03:41:30.909233392 +0000
@@ -11,7 +11,7 @@
  \lit*{export} \\
  \lit*{alias} \lit* : \synt{string\ constant}\\
  \lit*{interrupt} \\
- \lit*{iochecks} \\
+ \lit*{iocheck} \\
  \synt{call\ modifiers}
 \end{stack}
 \end{rep}
@@ -20,8 +20,10 @@
 \synt{call\ modifiers}
 \begin{stack}
 \lit*{cdecl}\\
+\lit*{cppdecl}\\
 \lit*{inline}\\
 \lit*{local} \\
+\lit*{noreturn}\\
 \lit*{nostackframe}\\
 \lit*{overload}\\
 \lit*{pascal}\\
modifiers.syn.patch (511 bytes)   

Kai Burghardt

2020-05-07 05:44

reporter   ~0122651

Oups, “noreturn” is no call modifier, merely a compiler hint. It was missing in the upper section of the diagram.

Michael Van Canneyt

2020-05-13 12:25

administrator   ~0122761

Applied, added explanation, and moved noreturn.

Issue History

Date Modified Username Field Change
2020-05-07 05:42 Kai Burghardt New Issue
2020-05-07 05:42 Kai Burghardt Status new => assigned
2020-05-07 05:42 Kai Burghardt Assigned To => Michael Van Canneyt
2020-05-07 05:42 Kai Burghardt File Added: modifiers.syn.patch
2020-05-07 05:44 Kai Burghardt Note Added: 0122651
2020-05-13 12:25 Michael Van Canneyt Status assigned => resolved
2020-05-13 12:25 Michael Van Canneyt Resolution open => fixed
2020-05-13 12:25 Michael Van Canneyt Fixed in Version => 3.3.1
2020-05-13 12:25 Michael Van Canneyt Fixed in Revision => 1699
2020-05-13 12:25 Michael Van Canneyt FPCTarget => 3.2.0
2020-05-13 12:25 Michael Van Canneyt Note Added: 0122761