Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 599 Bytes

compiler-error-c2630.md

File metadata and controls

34 lines (27 loc) · 599 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2630
Compiler Error C2630
11/04/2016
C2630
C2630
7a655a9c-bab4-495b-97a3-a3f34cf5369a

Compiler Error C2630

'symbol' found in what should be a comma-separated list

The symbol appears in a context that requires a comma.

The following sample generates C2630:

// C2630.cpp
// compile with: /c
struct D {
   D(int);
};

struct E {
   E(int);
};

class C : public D, public E {
   C();
};

C::C() : D(0) ; E(0) { }   // C2630
C::C() : D(0), E(0) {}   // OK