View Issue Details

IDProjectCategoryView StatusLast Update
0038984LazarusLCLpublic2021-06-11 07:15
ReporterMarius Maximus Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0038984: Patch for Qt5 interface = Missing macro "_LP64" on mingw730_64 for type "PTRINT"
DescriptionI try build Qt5Pas.pro on my Windows 64bit ,
I used mingw730_64 from qt installer
For "mingw730_64" PTRINT , PTRUINT should be
typedef long long int PTRINT;
typedef unsigned long long int PTRUINT;
TagsNo tags attached.
Fixed in Revisionr65217
LazTarget-
WidgetsetQT5
Attached Files

Activities

Marius Maximus

2021-06-10 16:40

reporter  

src.patch (975 bytes)   
Index: lcl/interfaces/qt5/cbindings/src/chandles.h
===================================================================
--- lcl/interfaces/qt5/cbindings/src/chandles.h	(revision 65190)
+++ lcl/interfaces/qt5/cbindings/src/chandles.h	(working copy)
@@ -13,7 +13,7 @@
 #ifndef CHANDLES_H
 #define CHANDLES_H
 
-#if defined _LP64
+#if defined(_LP64) || defined(__amd64__)
 typedef long long int PTRINT;
 typedef unsigned long long int PTRUINT;
 #else
Index: lcl/interfaces/qt5/cbindings/src/pascalbind.h
===================================================================
--- lcl/interfaces/qt5/cbindings/src/pascalbind.h	(revision 65190)
+++ lcl/interfaces/qt5/cbindings/src/pascalbind.h	(working copy)
@@ -40,7 +40,7 @@
 typedef bool (*EventFilter)(void *message, long *result);
 typedef bool (*EventFilter2)(void *message);
 
-#if defined _LP64
+#if defined(_LP64) || defined(__amd64__)
 typedef long long int PTRINT;
 typedef unsigned long long int PTRUINT;
 #else
src.patch (975 bytes)   

Juha Manninen

2021-06-11 07:15

developer   ~0131246

Applied, thanks.

Issue History

Date Modified Username Field Change
2021-06-10 16:40 Marius Maximus New Issue
2021-06-10 16:40 Marius Maximus File Added: src.patch
2021-06-11 07:12 Juha Manninen Assigned To => Juha Manninen
2021-06-11 07:12 Juha Manninen Status new => assigned
2021-06-11 07:15 Juha Manninen Status assigned => resolved
2021-06-11 07:15 Juha Manninen Resolution open => fixed
2021-06-11 07:15 Juha Manninen Fixed in Revision => r65217
2021-06-11 07:15 Juha Manninen LazTarget => -
2021-06-11 07:15 Juha Manninen Widgetset QT5 => QT5
2021-06-11 07:15 Juha Manninen Note Added: 0131246