~vcs-imports-ii/libcdio/master

Viewing all changes in revision 685.

  • Committer: Pete Batard
  • Date: 2018-06-06 12:50:44 UTC
  • Revision ID: git-v1:81d5c7bc6c162c17362d954e86de8971605d52ef
Fix MinGW inlining failed warnings

The latest MinGW32 reports the following during compilation:

image/bincue.c: In function 'cdio_get_devices_bincue':
image/bincue.c:992:20: warning: inlining failed in call to 'Win32Glob.constprop': call is unlikely and code size would grow [-Winline]
 static inline void Win32Glob(const char* pattern, const char* szCurPath, char ***drives, unsigned int *num_files)
                    ^~~~~~~~~

image/nrg.c: In function 'cdio_get_devices_nrg':
image/nrg.c:1128:20: warning: inlining failed in call to 'Win32Glob.constprop': call is unlikely and code size would grow [-Winline]
 static inline void Win32Glob(const char* pattern, const char* szCurPath, char ***drives, unsigned int *num_files)
                    ^~~~~~~~~

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: