mstorsjo wrote:

> > This broke building C++ modules for mingw targets. Repro:
> > `empty.cppm`:
> > ```c++
> > export module empty;
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > ```
> > $ clang -target x86_64-windows-gnu -x c++-module empty.cppm -c -o 
> > empty.cppm.obj -std=gnu++23
> > error: invalid value 'seh' in '-exception-model=seh'
> > ```
> 
> #146643
> 
> I for some reason have to repeat the reproducer exactly this way; if I just 
> run cc1 with the same triple and flags it seems to work?

Yeah, I have no idea what's being passed through at what level here, but the 
fix looks reasonable to me. Thanks!

https://github.com/llvm/llvm-project/pull/146342
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to