first part of the Intel C Compiler (Linux) shaddap

| tglaser@hephaistos:~ $ /usr/local/intel/cc/9.1.042/bin/icc -V
| Intel(R) C Compiler for 32-bit applications, Version 9.1    Build 20060706Z Package ID: l_cc_c_9.1.042
this one is muuuuch too verbose IMHO, _and_ it #defines __GNUC__ (eek)
This commit is contained in:
tg 2007-06-06 21:36:29 +00:00
parent e74e6fae7e
commit 5dfde5c670
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $MirOS: src/bin/mksh/Build.sh,v 1.204 2007/06/05 23:10:51 tg Exp $ # $MirOS: src/bin/mksh/Build.sh,v 1.205 2007/06/06 21:36:29 tg Exp $
#- #-
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
@ -404,7 +404,7 @@ elif test $ct = sunpro; then
fi fi
ac_test expstmt '' "if the compiler supports statements as expressions" <<-'EOF' ac_test expstmt '' "if the compiler supports statements as expressions" <<-'EOF'
#define ksh_isspace(c) __extension__({ \ #define ksh_isspace(c) __extension__({ \
unsigned char ksh_isspace_c = (c); \ unsigned ksh_isspace_c = (c); \
(ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) || \ (ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) || \
(ksh_isspace_c == 0x20); \ (ksh_isspace_c == 0x20); \
}) })

4
misc.c
View File

@ -6,7 +6,7 @@
#include <grp.h> #include <grp.h>
#endif #endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.55 2007/06/05 19:48:47 tg Exp $\t" __RCSID("$MirOS: src/bin/mksh/misc.c,v 1.56 2007/06/06 21:36:29 tg Exp $\t"
MKSH_SH_H_ID); MKSH_SH_H_ID);
#undef USE_CHVT #undef USE_CHVT
@ -1428,7 +1428,7 @@ stristr(const char *b, const char *l)
#if !HAVE_EXPSTMT #if !HAVE_EXPSTMT
bool bool
ksh_isspace_(unsigned char ksh_isspace_c) ksh_isspace_(unsigned ksh_isspace_c)
{ {
return ((ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) || return ((ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) ||
(ksh_isspace_c == 0x20)); (ksh_isspace_c == 0x20));

8
sh.h
View File

@ -8,7 +8,7 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */ /* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */ /* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.141 2007/06/05 19:48:47 tg Exp $" #define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.142 2007/06/06 21:36:29 tg Exp $"
#define MKSH_VERSION "R29 2007/06/05" #define MKSH_VERSION "R29 2007/06/05"
#if HAVE_SYS_PARAM_H #if HAVE_SYS_PARAM_H
@ -149,12 +149,12 @@ typedef int bool;
#if HAVE_EXPSTMT #if HAVE_EXPSTMT
/* this macro must not evaluate its arguments several times */ /* this macro must not evaluate its arguments several times */
#define ksh_isspace(c) __extension__({ \ #define ksh_isspace(c) __extension__({ \
unsigned char ksh_isspace_c = (c); \ unsigned ksh_isspace_c = (c); \
(ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) || \ (ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) || \
(ksh_isspace_c == 0x20); \ (ksh_isspace_c == 0x20); \
}) })
#else #else
#define ksh_isspace(c) ksh_isspace_((unsigned char)(c)) #define ksh_isspace(c) ksh_isspace_((unsigned)(c))
#endif #endif
#ifndef S_ISTXT #ifndef S_ISTXT
@ -1414,7 +1414,7 @@ void simplify_path(char *);
char *get_phys_path(const char *); char *get_phys_path(const char *);
void set_current_wd(char *); void set_current_wd(char *);
#if !HAVE_EXPSTMT #if !HAVE_EXPSTMT
bool ksh_isspace_(unsigned char); bool ksh_isspace_(unsigned);
#endif #endif
/* shf.c */ /* shf.c */
struct shf *shf_open(const char *, int, int, int); struct shf *shf_open(const char *, int, int, int);