On Apr 6 18:34, Kai Tietz wrote: > 2013/4/6 Corinna Vinschen <vinsc...@redhat.com>: > > On Apr 6 17:54, Ruben Van Boxem wrote: > >> Building trunk crt gives me this error: > >>[...] > >> /home/ruben/AUR/mingw-w64-crt-svn/src/mingw-w64-crt/intrincs/membarrier.c:5:5: > >> error: unknown type name '__LONG32' > >> __LONG32 Barrier = 0; > >> ^ > >> > >> I think something was missed. > > > > Indeed. I tested on 64 bit only. membarrier.c is only built for 32 bit > > and it's the only intrinsics source not including <intrin.h>. > > > > Two solutions: > > > > - Either add #include <intrin.h> to membarrier.c, > > > > - or revert all __LONG32 to long in 32bit-only intrinsics. > > > > Whatever the maintainers prefer. > > > > > > Corinna > > I prefer to add the header-include.
Done. I also added the "for x86 only" comment as all other x86-only files have. Corinna ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public