Warning C4564 (method defines unsupported default parameter) when building C++/CLI project that cons

Following is the warning signature:     ReadersManager.cpp(311): warning C4564: method ‘SetNewRecord’ of class ‘System::Data::DataTable’ defines unsupported default parameter ‘action’ 3>          Specify value ‘2’ explicitly when calling the method 3>          This diagnostic occurred while importing type ‘System::Data::DataTable ‘ from assembly ‘System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. 3>     …

Continue reading →