Skip to content

Commit

Permalink
Suppress -Wempty-translation-unit compiler warnings (OSGeo#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason authored and ninsbl committed Mar 20, 2023
1 parent ff51fee commit e8b0a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/gis/win32_pipes.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,6 @@ HANDLE G_pipe_connect(char *name)
return (hPipe);
}

#endif /* __MINGW32__ */
#endif /* __MINGW32__ */
#endif /* __MINGW32__ */
extern int dummy_for_iso_compilers; /* suppress -Wempty-translation-unit */
#endif /* __MINGW32__ */
1 change: 1 addition & 0 deletions raster/r.param.scale/disp_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ void disp_wind(CELL * z)
fgets(dummy, 70, stdin);
}
#endif
extern int dummy_for_iso_compilers; /* suppress -Wempty-translation-unit */

0 comments on commit e8b0a43

Please sign in to comment.