Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
23 Views

Compiler warning #2553: nonstandard second parameter "char *[]" of "main", expected "char *[]" or "char **"

Hi,

Using warning level -W4 or -W5 I get this strange compiler warning. Can anyone see what I'm doing wrong?

Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.0.3.175 Build 20110309
Copyright (C) 1985-2011 Intel Corporation.  All rights reserved.

hello.c
hello.c(3): remark #2553: nonstandard second parameter "char *[]" of "main", expected "char *[]" or "char **"
  int main(int argc, char *argv[])
      ^

Or is this a known bug in Version 12 of the compiler?

0 Kudos
3 Replies
Highlighted
23 Views

This is a known bug in Version 12 of the compiler. DPD200196948 in our internal bugs database.

0 Kudos
Highlighted
Employee
23 Views

 

Yes if you are on Windows and compiling in C. This was fixed in release 13.0. Please upgrade to the latest version of compiler (14.0).

Judy

0 Kudos
Highlighted
Beginner
23 Views

Ah, thanks

0 Kudos