- Notifications
You must be signed in to change notification settings - Fork5.1k
Commit3e908fb
committed
Fix compiler warnings around _CRT_glob
Newer compilers warned about extern int _CRT_glob = 0;which is indeed a mysterious C construction, as it combines "extern"and an initialization. It turns out that according to the C standard,the "extern" is ignored here, so we can remove it to resolve thewarnings. But then we also need to add a real externdeclaration (without initializer) to satisfy-Wmissing-variable-declarations.(Note that this code is only active on MinGW.)Discussion:https://www.postgresql.org/message-id/1053279b-da01-4eb4-b7a3-da6b5d8f73d1%40eisentraut.org1 parent3a66158 commit3e908fb
1 file changed
+2
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
| 50 | + | |
50 | 51 |
| |
51 | 52 |
| |
52 | 53 |
| |
|
0 commit comments
Comments
(0)