Author Topic: file paths, forward backward slashes  (Read 4294 times)

tijsv

  • Guest
file paths, forward backward slashes
« on: December 03, 2009, 01:08:07 pm »
Hello,

Is there a way to force a single path style in Code::Blocks projects?

I am using Code::Blocks both on Windows and linux.
When editing and saving a project file on Windows, all file paths will be converted to windows style, with backward slashes.
When editing and saving the same project file on linux, all file paths will be converted to unix style, with forward slashes.

This conversion is performed correctly, since I can always open the project file on both systems.
However, all paths will be changed even when only a small actual change has been made to the project.
This is annoying in combination with subversion.

Kind Regards,
Tijs

zabzonk

  • Guest
Re: file paths, forward backward slashes
« Reply #1 on: December 03, 2009, 02:06:31 pm »
I agree. CB should use one style (forward slashes) throughout and convert on the fly where needed, which isn't very often.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: file paths, forward backward slashes
« Reply #2 on: December 03, 2009, 04:36:57 pm »
+1

Have reported this problem long time ago, no one responded :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: file paths, forward backward slashes
« Reply #3 on: December 03, 2009, 04:38:38 pm »
Have reported this problem long time ago, no one responded :(
Not really responded but I have a pending patch that takes care of that already. Be patient.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: file paths, forward backward slashes
« Reply #4 on: December 03, 2009, 11:15:07 pm »
Aaa, great :)
This problem doesn't bother me at the moment, I'm booting winboze only to play games :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]