Clarify causes of possible mismatch between Win32 libraries and
authorBruce Momjian <bruce@momjian.us>
Thu, 13 Oct 2005 17:46:18 +0000 (17:46 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 13 Oct 2005 17:46:18 +0000 (17:46 +0000)
applications that use FILE pointers.

doc/src/sgml/ecpg.sgml
doc/src/sgml/libpq.sgml

index 0ce42461f73fba8fcd408dc2d61bbde9aa36d44d..4356d80e7e9986c459c1d2973b78843d4f51afe2 100644 (file)
@@ -1612,7 +1612,9 @@ ECPG = ecpg
     On Win32, if the <application>ecpg</> libraries and an application are
     compiled with different flags, this function call will crash the 
     application because the internal representation of the 
-    <literal>FILE</> pointers differ.
+    <literal>FILE</> pointers differ.  Specifically,
+    threading/non-threading, release/debug, and static/dynamic flags should 
+    be the same for the library and all applications using that library.
     </para>
     </note>
    </listitem>
index 8c4d943ea3dacbda865b9c50c5b3e3bd7c17d63e..465847699604a32198e00abbcaad0d7090155624 100644 (file)
@@ -3520,7 +3520,9 @@ void PQtrace(PGconn *conn, FILE *stream);
 On Win32, if the <application>libpq</> library and an application are
 compiled with different flags, this function call will crash the 
 application because the internal representation of the <literal>FILE</> 
-pointers differ.
+pointers differ.  Specifically, threading/non-threading, release/debug, and
+static/dynamic flags should be the same for the library and all applications
+using that library.
 </para>
 </note>
 </listitem>