[Bf-committers] Error in compile with Scons (source/blender/blenlib/intern/string.c)

Jefferson Rausseo jeffersonrausseo at gmail.com
Sat Jan 10 19:00:38 CET 2015


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.


More information about the Bf-committers mailing list