http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52131
Bug #: 52131 Summary: dynamic allocation? Classification: Unclassified Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: pau...@walla.co.il Hi, It’s seems that the next lines don’t arise any error or warnings - int bufSize = strlen(username) + 1 + strlen(column) + 1 ; char buf[bufSize]; As far as I know, a buffer cannot be declared with size that known only on runtime.