verdammelt / tnef

tnef
GNU General Public License v2.0
58 stars 21 forks source link

Compilation Warnings #5

Closed verdammelt closed 10 years ago

verdammelt commented 10 years ago
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:256:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            fprintf (stderr, COPYRIGHTS);
                             ^~~~~~~~~~
1 warning generated.
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT mapi_attr.o -MD -MP -MF .deps/mapi_attr.Tpo -c -o mapi_attr.o mapi_attr.c
mapi_attr.c:208:14: warning: comparison of constant 32768 with expression of type 'mapi_name' (aka 'enum _mapi_name') is always
      false [-Wtautological-constant-out-of-range-compare]
        if (a->name >= GUID_EXISTS_FLAG)
            ~~~~~~~ ^  ~~~~~~~~~~~~~~~~
verdammelt commented 10 years ago

fixed in 81a5a5b