Commit e12f285
EomExifUtil: Fix build with newer GCC
Newer gcc may produce an error if they cannot
check the format arguments.
EomExifUtil: Fix build with older GCCs
Older GCCs don't support pragma diagnostic in functions.
Move the pragmas outside to fix the build with these compilers.
https://bugzilla.gnome.org/show_bug.cgi?id=780675
origin commits:
https://gitlab.gnome.org/GNOME/eog/commit/ca4c09a
https://gitlab.gnome.org/GNOME/eog/commit/d91cf5b1 parent 1e96c9d commit e12f285
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
| 173 | + | |
| 174 | + | |
167 | 175 | | |
168 | 176 | | |
169 | 177 | | |
| |||
0 commit comments