RAD Studio
ContentsIndex
PreviousUpNext
W8108: Constant in new expression requires an initializer (C++)

(Command-line option to suppress warning: -w-nci) 

If the type is const then either an initializer must be present or the non-POD class must have a user-declared constructor. Error in ANSI mode, warning if ANSI mode is not set. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!