From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Watson To: help-gcc@gnu.org Subject: DOS EOL in multiline #define Date: Wed, 05 Jan 2000 16:46:00 -0000 Message-id: <3873C447.78441FE6@stsci.edu> X-SW-Source: 2000-01/msg00061.html I am trying to compile a c program with gcc. The c source file in in DOS format, so all the EOL's have that extra annoying ^M. Unfortunately, gcc craps out on multiline #defines during the compile. Is there any way to make gcc ignore the ^M's without converting the source file to a sane format? I tried using #define ^M "" but, gcc says that the ^M character is not a valid macro name. Thanks, JW From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Watson To: help-gcc@gnu.org Subject: DOS EOL in multiline #define Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <3873C447.78441FE6@stsci.edu> X-SW-Source: 2000-q1/msg00061.html Message-ID: <20000401000000.B1piFyBGF8djQ8IOs4G3A-Qo8oixC9-a090edYEYPuA@z> I am trying to compile a c program with gcc. The c source file in in DOS format, so all the EOL's have that extra annoying ^M. Unfortunately, gcc craps out on multiline #defines during the compile. Is there any way to make gcc ignore the ^M's without converting the source file to a sane format? I tried using #define ^M "" but, gcc says that the ^M character is not a valid macro name. Thanks, JW