View Issue Details

IDProjectCategoryView StatusLast Update
0036923FPCCompilerpublic2020-04-18 11:55
ReporterDmitry Assigned ToPierre Muller  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformi386-go32v2 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0036923: Unable to compile IDE for i386-go32v2 in with debugger support
DescriptionFatal error when building the IDE for i386-go32v2 from source (using i386-win32).

The source file fpc\packages\gdbint\src\gdbint.pp (3514) has been changed since the revision 44128, and the following function declaration has been changed from
function interp_set (interp : interpreter_struct_p) : longbool;cdecl; external;
to
function interp_set (interp : interpreter_struct_p;top_level : cint) : longbool;cdecl; external;

Which resulted in the error when compiling the IDE for go32v2 platform:

gdbint.pp(3514,70) Error: Identifier not found "cint"
gdbint.pp(3641,30) Error: Incompatible type for arg no. 2: Got "ShortInt", expected "<erroneous type>"
gdbint.pp(3751) Fatal: There were 2 errors compiling module, stopping
Steps To Reproducemake --debug=j distclean crosszipinstall OS_TARGET=go32v2 CPU_TARGET=i386 BUILDFULLNATIVE=1 OPT="-n -gl -dNOVESA"
TagsNo tags attached.
Fixed in Revision44774
FPCOldBugId
FPCTarget4.0.0
Attached Files

Activities

Pierre Muller

2020-04-18 11:55

developer   ~0122220

 This was my fault indeed.
 Should be fixed in commit #44774,
please test and close bug report if
the fix works also for you.
 I checked it locally, it worked for me.

 Thanks for the report,

Pierre

Issue History

Date Modified Username Field Change
2020-04-17 12:01 Dmitry New Issue
2020-04-18 11:55 Pierre Muller Assigned To => Pierre Muller
2020-04-18 11:55 Pierre Muller Status new => resolved
2020-04-18 11:55 Pierre Muller Resolution open => fixed
2020-04-18 11:55 Pierre Muller Fixed in Version => 3.3.1
2020-04-18 11:55 Pierre Muller Fixed in Revision => 44774
2020-04-18 11:55 Pierre Muller FPCTarget => 4.0.0
2020-04-18 11:55 Pierre Muller Note Added: 0122220