Menu

#23 in_char_arr has no callers - borks scons

open
nobody
None
5
2010-05-03
2010-05-03
Anonymous
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB