hhvm
hhvm copied to clipboard
Special characters in filename prevents compilation, escape in cmakefile needed
If the directory your php script is in has a space in it, or a colon in it ":" compilation is prevented with an error like this:
CMakeFiles/program.dir/depend.make:9265: *** target pattern contains no `%'. Stop.\nmake[1]: *** [CMakeFiles/program.dir/all] Error 2\nmake: *** [all] Error 2 \n
Basically because cmake doesn't like either of those characters e.g.:
CMakeFiles/program.dir/cpp/013.cpp.o: php/ space test /index.fw.h
If the filename/path was escaped this wouldn't be an issue
We're closing out all bugs older than 2 months. http://www.hiphop-php.com/wp/?p=575
If this is still an issue, please re-open it, and in order of goodness:
- Give detailed repro steps
- Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
- Fix it in a pull request