From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: donn@interix.com Cc: binutils@sourceware.cygnus.com Subject: Re: (gas -- compile time error) dwarf2dbg.c and long long Date: Thu, 15 Jul 1999 11:29:00 -0000 Message-id: <19990715182812.18316.qmail@daffy.airs.com> References: <378E1325.3CDEB280@interix.com> X-SW-Source: 1999-q3/msg00215.html Date: Thu, 15 Jul 1999 10:58:13 -0600 From: Donn Terry Since April, the file dwarf2dbg.c has been introduced, and appears to always be being built (altho not needed in my case). It contains a cast to (long long). This causes it to fail the build on Interix, which is a pretty generic build of gas, but using the MS compiler, which doesn't understand long long. The obvious quick-and-dirty workarounds are already in place, but not knowing the goals of that change, I don't know what the right fix to it might be: turn off building the file, conditional compilation of the line (a %llx is also involved) or finding the right typedef to cast to instead of long long. (I don't build in 64 bit mode, so the obvious ones aren't available.) The (long long) occurs in a debugging print statement, so I checked in the obvious quick and dirty patch to permit compilation to succeed. Ian