Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 727 Bytes

compiler-warning-level-3-c4357.md

File metadata and controls

24 lines (19 loc) · 727 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 3) C4357
Compiler Warning (level 3) C4357
11/04/2016
C4357
C4357
9259c633-3c02-4900-b94a-2d8d366d61cd

Compiler Warning (level 3) C4357

param array argument in formal argument list for delegate 'del' ignored when generating 'function'

The ParamArray attribute was ignored, and function cannot be called with variable arguments.

The following sample generates C4357:

// C4357.cpp
// compile with: /clr /W3 /c
using namespace System;
public delegate void f(int i, ... array<Object^>^ varargs);   // C4357

public delegate void g(int i, array<Object^>^ varargs);   // OK