hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

Special characters in filename prevents compilation, escape in cmakefile needed

Open joelastpass opened this issue 15 years ago • 1 comments

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

joelastpass avatar Feb 25 '11 05:02 joelastpass

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:

  1. Give detailed repro steps
  2. Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
  3. Fix it in a pull request

ptarjan avatar May 13 '13 22:05 ptarjan