⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fixincl.x

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 X
📖 第 1 页 / 共 5 页
字号:
    "-e", "1i\\\n\#ifdef __cplusplus\\\n\#include <stdlib.h>\\\n\#endif\n",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  15 - Bsd43_Io_Macros fix */tSCC zBsd43_Io_MacrosName[] =     "Bsd43_Io_Macros";/* *  File name selection pattern */#define zBsd43_Io_MacrosList (char*)NULL/* *  Machine/OS name selection pattern */#define apzBsd43_Io_MacrosMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zBsd43_Io_MacrosSelect0[] =       "BSD43__IO";#define    BSD43_IO_MACROS_TEST_CT  1#define    BSD43_IO_MACROS_RE_CT    1tTestDesc aBsd43_Io_MacrosTests[] = {  { TT_EGREP,  zBsd43_Io_MacrosSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for Bsd43_Io_Macros */const char* apzBsd43_Io_MacrosPatch[] = { "sed",    "-e", "/[ \t]BSD43__IO[A-Z]*[ \t]*(/s/(\\(.\\),/('\\1',/",    "-e", "/#[ \t]*define[ \t]*[ \t]BSD43__IO/s/'\\([cgx]\\)'/\\1/g",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  16 - Dec_Intern_Asm fix */tSCC zDec_Intern_AsmName[] =     "Dec_Intern_Asm";/* *  File name selection pattern */tSCC zDec_Intern_AsmList[] =  "|c_asm.h|";/* *  Machine/OS name selection pattern */#define apzDec_Intern_AsmMachs (const char**)NULL#define DEC_INTERN_ASM_TEST_CT  0#define DEC_INTERN_ASM_RE_CT    0#define aDec_Intern_AsmTests   (tTestDesc*)NULL/* *  Fix Command Arguments for Dec_Intern_Asm */const char* apzDec_Intern_AsmPatch[] = { "sed",    "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\#ifdef __DECC\n",    "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\#endif\n",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  17 - No_Double_Slash fix */tSCC zNo_Double_SlashName[] =     "No_Double_Slash";/* *  File name selection pattern */#define zNo_Double_SlashList (char*)NULL/* *  Machine/OS name selection pattern */#define apzNo_Double_SlashMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zNo_Double_SlashSelect0[] =       "(^|[^:])//[^\"*]";/* *  perform the 'test' shell command - do fix on success */tSCC zNo_Double_SlashTest0[] =       " -z \"`echo ${file} | egrep '(CC|cxx|\\+\\+)/'`\"";#define    NO_DOUBLE_SLASH_TEST_CT  2#define    NO_DOUBLE_SLASH_RE_CT    1tTestDesc aNo_Double_SlashTests[] = {  { TT_TEST,   zNo_Double_SlashTest0,     0 /* unused */ },  { TT_EGREP,  zNo_Double_SlashSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for No_Double_Slash */const char* apzNo_Double_SlashPatch[] = { "sed",    "-e", "s,^//.*$,,",    "-e", "s,[^:]//[^\"].*$,,",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  18 - Ecd_Cursor fix */tSCC zEcd_CursorName[] =     "Ecd_Cursor";/* *  File name selection pattern */tSCC zEcd_CursorList[] =  "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";/* *  Machine/OS name selection pattern */#define apzEcd_CursorMachs (const char**)NULL#define ECD_CURSOR_TEST_CT  0#define ECD_CURSOR_RE_CT    0#define aEcd_CursorTests   (tTestDesc*)NULL/* *  Fix Command Arguments for Ecd_Cursor */const char* apzEcd_CursorPatch[] = { "sed",    "-e", "s/ecd.cursor/ecd_cursor/",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  19 - Sco5_Stat_Wrappers fix */tSCC zSco5_Stat_WrappersName[] =     "Sco5_Stat_Wrappers";/* *  File name selection pattern */tSCC zSco5_Stat_WrappersList[] =  "|sys/stat.h|";/* *  Machine/OS name selection pattern */tSCC* apzSco5_Stat_WrappersMachs[] = {        "i*86-*-sco3.2v5*",        (const char*)NULL };#define SCO5_STAT_WRAPPERS_TEST_CT  0#define SCO5_STAT_WRAPPERS_RE_CT    0#define aSco5_Stat_WrappersTests   (tTestDesc*)NULL/* *  Fix Command Arguments for Sco5_Stat_Wrappers */const char* apzSco5_Stat_WrappersPatch[] = { "sed",    "-e", "/^static int[ \t]*[a-z]*stat(/i\\\n\#ifdef __cplusplus\\\n\extern \"C\"\\\n\{\\\n\#endif\\\n",    "-e", "/^}$/a\\\n\#ifdef __cplusplus\\\n\}\\\n\#endif /* __cplusplus */\\\n",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  20 - End_Else_Label fix */tSCC zEnd_Else_LabelName[] =     "End_Else_Label";/* *  File name selection pattern */#define zEnd_Else_LabelList (char*)NULL/* *  Machine/OS name selection pattern */#define apzEnd_Else_LabelMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zEnd_Else_LabelSelect0[] =       "^[ \t]*#[ \t]*(else|endif)[ \t]+([!-.0-z\\{\\|\\}\\~]|/[^\\*])";#define    END_ELSE_LABEL_TEST_CT  1#define    END_ELSE_LABEL_RE_CT    1tTestDesc aEnd_Else_LabelTests[] = {  { TT_EGREP,  zEnd_Else_LabelSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for End_Else_Label */const char* apzEnd_Else_LabelPatch[] = { "sed",    "-e", ":loop\n\/\\\\$/N\n\s/\\\\$/\\\\+++fixinc_eol+++/\n\/\\\\$/b loop\n\s/\\\\+++fixinc_eol+++/\\\\/g\n\s%^\\([ \t]*#[ \t]*else\\)[ \t][ \t]*/[^*].*%\\1%\n\s%^\\([ \t]*#[ \t]*else\\)[ \t][ \t]*[^/ \t].*%\\1%\n\s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]*/[^*].*%\\1%\n\s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]**[^/].*%\\1%\n\s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]*[^/* \t].*%\\1%",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  21 - Hp_Inline fix */tSCC zHp_InlineName[] =     "Hp_Inline";/* *  File name selection pattern */tSCC zHp_InlineList[] =  "|sys/spinlock.h|";/* *  Machine/OS name selection pattern */#define apzHp_InlineMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zHp_InlineSelect0[] =       "include.*\"\\.\\./machine/";#define    HP_INLINE_TEST_CT  1#define    HP_INLINE_RE_CT    1tTestDesc aHp_InlineTests[] = {  { TT_EGREP,  zHp_InlineSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for Hp_Inline */const char* apzHp_InlinePatch[] = { "sed",    "-e", "s,\"../machine/inline.h\",<machine/inline.h>,",    "-e", "s,\"../machine/psl.h\",<machine/psl.h>,",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  22 - Hp_Sysfile fix */tSCC zHp_SysfileName[] =     "Hp_Sysfile";/* *  File name selection pattern */tSCC zHp_SysfileList[] =  "|sys/file.h|";/* *  Machine/OS name selection pattern */#define apzHp_SysfileMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zHp_SysfileSelect0[] =       "HPUX_SOURCE";#define    HP_SYSFILE_TEST_CT  1#define    HP_SYSFILE_RE_CT    1tTestDesc aHp_SysfileTests[] = {  { TT_EGREP,  zHp_SysfileSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for Hp_Sysfile */const char* apzHp_SysfilePatch[] = { "sed",    "-e", "s/(\\.\\.\\.)/(struct file * ...)/",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  23 - Cxx_Unready fix */tSCC zCxx_UnreadyName[] =     "Cxx_Unready";/* *  File name selection pattern */tSCC zCxx_UnreadyList[] =  "|sys/mman.h|rpc/types.h|";/* *  Machine/OS name selection pattern */#define apzCxx_UnreadyMachs (const char**)NULL/* *  content bypass pattern - skip fix if pattern found */tSCC zCxx_UnreadyBypass0[] =       "\"C\"|__BEGIN_DECLS";#define    CXX_UNREADY_TEST_CT  1#define    CXX_UNREADY_RE_CT    1tTestDesc aCxx_UnreadyTests[] = {  { TT_NEGREP, zCxx_UnreadyBypass0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for Cxx_Unready */const char* apzCxx_UnreadyPatch[] = { "sed",    "-e", "1i\\\n\#ifdef __cplusplus\\\n\extern \"C\" {\\\n\#endif\\\n\\n",    "-e", "$a\\\n\#ifdef __cplusplus\\\n\}\\\n\#endif\n",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  24 - Hpux_Maxint fix */tSCC zHpux_MaxintName[] =     "Hpux_Maxint";/* *  File name selection pattern */tSCC zHpux_MaxintList[] =  "|sys/param.h|";/* *  Machine/OS name selection pattern */#define apzHpux_MaxintMachs (const char**)NULL#define HPUX_MAXINT_TEST_CT  0#define HPUX_MAXINT_RE_CT    0#define aHpux_MaxintTests   (tTestDesc*)NULL/* *  Fix Command Arguments for Hpux_Maxint */const char* apzHpux_MaxintPatch[] = { "sed",    "-e", "/^#[ \t]*define[ \t]*MAXINT[ \t]/i\\\n\#ifndef MAXINT\n",    "-e", "/^#[ \t]*define[ \t]*MAXINT[ \t]/a\\\n\#endif\n",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  25 - Hpux_Systime fix */tSCC zHpux_SystimeName[] =     "Hpux_Systime";/* *  File name selection pattern */tSCC zHpux_SystimeList[] =  "|sys/time.h|";/* *  Machine/OS name selection pattern */#define apzHpux_SystimeMachs (const char**)NULL/* *  content selection pattern - do fix if pattern found */tSCC zHpux_SystimeSelect0[] =       "^extern struct sigevent;";#define    HPUX_SYSTIME_TEST_CT  1#define    HPUX_SYSTIME_RE_CT    1tTestDesc aHpux_SystimeTests[] = {  { TT_EGREP,  zHpux_SystimeSelect0,   (regex_t*)NULL }, };/* *  Fix Command Arguments for Hpux_Systime */const char* apzHpux_SystimePatch[] = { "sed",    "-e", "s/^extern struct sigevent;/struct sigevent;/",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  26 - Interactv_Add1 fix */tSCC zInteractv_Add1Name[] =     "Interactv_Add1";/* *  File name selection pattern */tSCC zInteractv_Add1List[] =  "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";/* *  Machine/OS name selection pattern */#define apzInteractv_Add1Machs (const char**)NULL/* *  perform the 'test' shell command - do fix on success */tSCC zInteractv_Add1Test0[] =       " -d /etc/conf/kconfig.d";tSCC zInteractv_Add1Test1[] =       " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";#define    INTERACTV_ADD1_TEST_CT  2#define    INTERACTV_ADD1_RE_CT    0tTestDesc aInteractv_Add1Tests[] = {  { TT_TEST,   zInteractv_Add1Test0,     0 /* unused */ },  { TT_TEST,   zInteractv_Add1Test1,     0 /* unused */ }, };/* *  Fix Command Arguments for Interactv_Add1 */const char* apzInteractv_Add1Patch[] = { "sed",    "-e", "s/!defined(__STDC__) && !defined(_POSIX_SOURCE)/!defined(_POSIX_SOURCE)/",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  27 - Interactv_Add2 fix */tSCC zInteractv_Add2Name[] =     "Interactv_Add2";/* *  File name selection pattern */tSCC zInteractv_Add2List[] =  "|math.h|";/* *  Machine/OS name selection pattern */#define apzInteractv_Add2Machs (const char**)NULL/* *  perform the 'test' shell command - do fix on success */tSCC zInteractv_Add2Test0[] =       " -d /etc/conf/kconfig.d";tSCC zInteractv_Add2Test1[] =       " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";#define    INTERACTV_ADD2_TEST_CT  2#define    INTERACTV_ADD2_RE_CT    0tTestDesc aInteractv_Add2Tests[] = {  { TT_TEST,   zInteractv_Add2Test0,     0 /* unused */ },  { TT_TEST,   zInteractv_Add2Test1,     0 /* unused */ }, };/* *  Fix Command Arguments for Interactv_Add2 */const char* apzInteractv_Add2Patch[] = { "sed",    "-e", "s/fmod(double)/fmod(double, double)/",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  28 - Interactv_Add3 fix */tSCC zInteractv_Add3Name[] =     "Interactv_Add3";/* *  File name selection pattern */tSCC zInteractv_Add3List[] =  "|sys/limits.h|";/* *  Machine/OS name selection pattern */#define apzInteractv_Add3Machs (const char**)NULL/* *  perform the 'test' shell command - do fix on success */tSCC zInteractv_Add3Test0[] =       " -d /etc/conf/kconfig.d";tSCC zInteractv_Add3Test1[] =       " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";#define    INTERACTV_ADD3_TEST_CT  2#define    INTERACTV_ADD3_RE_CT    0tTestDesc aInteractv_Add3Tests[] = {  { TT_TEST,   zInteractv_Add3Test0,     0 /* unused */ },  { TT_TEST,   zInteractv_Add3Test1,     0 /* unused */ }, };/* *  Fix Command Arguments for Interactv_Add3 */const char* apzInteractv_Add3Patch[] = { "sed",    "-e", "/CHILD_MAX/s,/\\* Max, Max,",    "-e", "/OPEN_MAX/s,/\\* Max, Max,",    (char*)NULL };/* * * * * * * * * * * * * * * * * * * * * * * * * * * *  Description  29 - Io_Def_Quotes fix */tSCC zIo_Def_QuotesName[] =     "Io_Def_Quotes";/* *  File name selection pattern */#define zIo_Def_QuotesList (char*)NULL/* *  Machine/OS name selection pattern */#define apzIo_Def_QuotesMachs (const char**)NULL

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -