*sigh* gcc is becomming slightly painful sometimes, treating those warnings as errors…
Anyway, fixed in master, this should use size_t anyway, thanks for headup! Le 10/01/2015 19:00, Jefferson Rausseo a écrit : > Ubuntu 14.04 > Scons > gcc 4.8.2 > commit ab3f037ccc3f5969a44120d60c7e44ab405ef935 > > Compiling ==> 'string.c' > source/blender/blenlib/intern/string.c: In function ‘BLI_strn_endswith’: > source/blender/blenlib/intern/string.c:778:22: error: conversion to ‘int’ > from ‘size_t’ may change the sign of the result [-Werror=sign-conversion] > int elength = strlen(end); > ^ > source/blender/blenlib/intern/string.c: In function ‘BLI_str_endswith’: > source/blender/blenlib/intern/string.c:801:22: error: conversion to ‘int’ > from ‘size_t’ may change the sign of the result [-Werror=sign-conversion] > int slength = strlen(str); > ^ > cc1: some warnings being treated as errors > scons: *** > [/home/dani/Programas/blender-git/build/source/blender/blenlib/intern/string.o] > Error 1 > scons: building terminated because of errors. > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
