diff dwtestoo.cpp @ 2956:afe9c20294ca

Win: Fix building dwtestoo with MinGW32/64. Need to use __cdecl in C++ mode. Also GCC 12 pukes on lambdas with stdio functions without #include <cstdio> GCC 8 compiled it fine without the include.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 06 Jan 2023 09:33:59 +0000
parents 34d16576c156
children 217ebbee034f
line wrap: on
line diff
--- a/dwtestoo.cpp	Fri Jan 06 07:58:49 2023 +0000
+++ b/dwtestoo.cpp	Fri Jan 06 09:33:59 2023 +0000
@@ -2,6 +2,7 @@
 // ground for Dynamic Windows features in C++.
 // By: Brian Smith and Mark Hessling
 #include "dw.hpp"
+#include <cstdio>
 
 // Select a fixed width font for our platform 
 #ifdef __OS2__