[HP aCC] incorrect warning 578 ------------------------------ Key: STDCXX-347 URL: https://issues.apache.org/jira/browse/STDCXX-347 Project: C++ Standard Library Issue Type: Bug Components: External Environment: HP aCC 3 Reporter: Martin Sebor Priority: Trivial
-------- Original Message -------- Subject: incorrect warning 578 Date: Tue, 06 Mar 2007 11:31:25 -0700 From: Martin Sebor <[EMAIL PROTECTED]> Organization: Rogue Wave Software To: [EMAIL PROTECTED] The warning below is incorrect -- there clearly is a way to initialize such members. Martin $ cat t.cpp && aCC +w t.cpp int main () { static const struct { const char s [2]; } a[] = { "a" }; } Warning 578: "t.cpp", line 4 # A class member may not be a const array since there is no way to initialize such a member. const char s [2]; ^ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.