We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent dcce66b commit 7de76a9Copy full SHA for 7de76a9
preprocess_sketch.go
@@ -105,6 +105,12 @@ func (s *ArduinoPreprocessorRunner) Run(ctx *types.Context) error {
105
return i18n.WrapError(err)
106
}
107
108
+ if runtime.GOOS == "windows" {
109
+ // chdir in the uppermost directory to avoid UTF-8 bug in clang (https://github.com/arduino/arduino-preprocessor/issues/2)
110
+ command.Dir = filepath.VolumeName(command.Args[0]) + "/"
111
+ //command.Args[0], _ = filepath.Rel(command.Dir, command.Args[0])
112
+ }
113
+
114
verbose := ctx.Verbose
115
if verbose {
116
fmt.Println(commandLine)
0 commit comments