in_char_arr has no callers - borks scons
Status: Inactive
Brought to you by:
floele
csstidy release 1.3 won't compile on my system
I get this
,----
| g++ -o release/csstidy/misc.o -c -O2 csstidy/misc.cpp
| csstidy/misc.cpp: In function 'bool in_char_arr(const char*, char)':
| csstidy/misc.cpp:124: error: 'strlen' was not declared in this scope
| scons: *** [release/csstidy/misc.o] Error 1
| scons: building terminated because of errors.
`----
Proplem is `in_char_arr' in the file: mics.cpp
A quick grep on the sources shows the symbol `in_char_arr' appears in the two files:
misc.cpp
misc.hpp
`in_char_arr' has no callers.
If I comment out the code block of `in_char_arr' scons will compile the executable.