Toolchain path separators mix-up of \ and /

Dear Community,

Why is the nRF Connec SDK is mixing up path separators '\'and '/'  when building under MS Windows 10

with nRF Connect Desktop 3.12.0 / toolchain manager 1.1.3  (also  older versions)

As you can see in below small-part of the build file

...

C:/cm/projects/micros/library_sdk/lib/modules/user-interface/led_state/led_state.c: In function 'handle_micros_led_event':
C:\cm\projects\micros\library_sdk\lib\modules\user-interface\led_state\led_state.c:364:9: warning: implicit declaration of function 'IS_STATE_ACTIVE' [-Wimplicit-function-declaration]
  364 |     if (IS_STATE_ACTIVE(state))
      |         ^~~~~~~~~~~~~~~
      
C:/cm/projects/micros/library_sdk/lib/modules/user-interface/led_state/led_state.c: In function 'caf_event_handler':
C:\cm\projects\micros\library_sdk\lib\modules\user-interface\led_state\led_state.c:579:41: warning: unused variable 'event' [-Wunused-variable]
  579 |         const struct micros_rsvp_event *event = cast_micros_rsvp_event(aeh);
      |                                         ^~~~~
      
...


feels to me that:
- some toolchain applications are using URI.
- some toolchain applications use OS folder separators

Please fix -> because this build log is easy & comfortable to read and to interpreted.

Thanks in advance!

Happy enginering & developing

Best regards,
      nRF5xFanBoy

Related