- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What can i do with this error?
configure:5649: checking whether icc supports -Wmissing-format-attribute
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
configure:5693: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kdelibs"
| #define VERSION "3.5.10"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5728: result: no
configure:5649: checking whether icc supports -Wmissing-format-attribute
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
configure:5693: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kdelibs"
| #define VERSION "3.5.10"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5728: result: no
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In 'man icc' i saw that iso9899:1990 is a -std=89 for icc.
I try './configure CC=icc CXX=icpc CFLAGS="-std=89"' , but in this case i got the same error:
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -std=c89 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
I try './configure CC=icc CXX=icpc CFLAGS="-std=89"' , but in this case i got the same error:
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -std=c89 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The equivalent of -std=c89 is the default. Try omitting that option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - solunskiy.mitya
In 'man icc' i saw that iso9899:1990 is a -std=89 for icc.
I try './configure CC=icc CXX=icpc CFLAGS="-std=89"' , but in this case i got the same error:
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -std=c89 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
I try './configure CC=icc CXX=icpc CFLAGS="-std=89"' , but in this case i got the same error:
configure:5686: icc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -std=c89 -Wmissing-format-attribute conftest.c >&5
icc: command line error: invalid argument for option '-std'
The valid optionsfor "-std" are following:
-std=
enable language support for
c99 enable C99 support for C programs
c++0x enable preliminary support for some C++0x features
You have "-std=iso9899:1990" and "-std=c89". Try without passing "-std", use the default like Tim suggested.
Jennifer

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page