This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fxsrintrin.h


On Fri, Aug 19, 2016 at 08:45:49AM +0200, Jakub Jelinek wrote:
> On Fri, Aug 19, 2016 at 01:50:52PM +0800, lhmouse wrote:
> > Given the `_fxsave()` function returning `void`, it is invalid C but valid C++:
> 
> It is also a GNU C extension.

And GCC warns with -Wpedantic (but not without).  It does the "correct"
thing in either case.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]