Issue 143157
Summary llvm-windres gives error in file that other MinGW toolchains do not
Labels new issue
Assignees
Reporter DerellLicht
    I am building a project with clang project, downloaded from this website.
The project builds with no errors with TDM 10.3.0 and other MinGW packages, but gives this error with the clang package:

```
D:\clang\bin\windres winwiz.rc -v -O COFF -o rc.o
D:/clang/bin/i686-w64-mingw32-clang.exe --driver-mode=gcc -target i686-w64-mingw32 -E -xc -DRC_INVOKED winwiz.rc -o C:/Users/dan7m/AppData/Local/Temp/preproc-996694.rc
llvm-rc: Error parsing file: Invalid token found at position 10358
make: *** [rc.o] Error 1
```

The version info for this windres is:
```
D:\SourceCode\Git\winwiz Yes, Master?? > D:\clang\bin\windres --version
llvm-windres, compatible with GNU windres
LLVM (http://llvm.org/):
  LLVM version 20.1.6
  Optimized build.
```

The resource file can be viewed here; position 10358 appears to be in the middle of line 203
https://github.com/DerellLicht/winwiz/blob/master/winwiz.rc

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to