User forums > General (but related to Code::Blocks)

[BUG/mingw] Code::Blocks adds quotes only if there are spaces in a path

<< < (2/3) > >>

raynebc:
If you manually put quotation marks around your output path, does it work?

Dmitri:
No, it won't work.

raynebc:
I would think that means one of two things:
1.  If there are quotes around it, perhaps C::B doesn't expand the $(PROJECT_DIR) variable?
2.  C::B putting quotes around it wouldn't have worked anyway as one of the other parts of the toolchain won't support this path as oBFusCATed suggested.  You'd need to change the project path to one without spaces.

Dmitri:
Which part of toolchain will cause problems?
Also, did you ever work with mingw compiler?

raynebc:
I use MinGW (first party MinGW, not the third party MinGW-64) exclusively, but then again I don't put spaces in my project paths because I don't want to have to troubleshoot any problems that may come of it.  If you remove the $(PROJECT_DIR) variable and explicitly define the path with quotation marks, does it work?  If not, then this isn't a problem C::B can solve because the compiler isn't allowing you to use the path containing spaces.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version