richard.townsend.arm added a comment.

The current diff (196894) seems to have the same `std::setw` issue as the 
previous one. Here's what it's trying to compile:

  _MRTIMP2 _Smanip<streamsize> __cdecl setw(streamsize wide)
  {     // manipulator to set width
        return (_Smanip<streamsize>(&swfun, wide));
   }

Here's the definition for `_Smanip`:

    template<class _Arg>
      struct _Smanip
        {       // store function pointer and argument value
          _Smanip(void (__cdecl *_Left)(ios_base&, _Arg), _Arg _Val)
                : _Pfun(_Left), _Manarg(_Val)
                {       // construct from function pointer and argument value
                }
  
                 void (__cdecl *_Pfun)(ios_base&, _Arg);        // the function 
pointer
                     _Arg _Manarg;      // the argument value
       };


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60349/new/

https://reviews.llvm.org/D60349



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

Reply via email to