zkfuse uses non-standard String
-------------------------------
Key: ZOOKEEPER-347
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-347
Project: Zookeeper
Issue Type: Bug
Components: contrib-zkfuse
Affects Versions: 3.1.0
Environment: gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
Reporter: Nitay Joffe
Priority: Minor
I'm getting an error compiling zkfuse:
g++ -DHAVE_CONFIG_H -I. -I..
-I/home/nitay/code/zookeeper-git/src/contrib/zkfuse/../../c/include
-I/home/nitay/code/zookeeper-git/src/contrib/zkfuse/../../c/generated
-I../include -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -g -O2 -MT
zkfuse.o -MD -MP -MF .deps/zkfuse.Tpo -c -o zkfuse.o zkfuse.cc
zkfuse.cc: In function 'int main(int, char**)':
zkfuse.cc:4282: error: 'String' does not name a type
zkfuse.cc:4283: error: 'file' was not declared in this scope
make[2]: *** [zkfuse.o] Error 1
make[2]: Leaving directory
`/home/nitay/code/zookeeper-git/src/contrib/zkfuse/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nitay/code/zookeeper-git/src/contrib/zkfuse'
make: *** [all] Error 2
4279 /**
4280 * Initialize log4cxx
4281 */
4282 const String file("log4cxx.properties");
4283 PropertyConfigurator::configureAndWatch( file, 5000 );
4284 LOG_INFO(LOG, "Starting zkfuse");
String is not standard, we should change it to std::string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.