Re: Error on make (gpsim)

"Scott Dattalo" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <[email protected]>
> I updated from CVS this morning at 10:30 CST and got this error after
> running make.
>
> bitlog.cc: In constructor `ThreeStateEventLogger::ThreeStateEventLogger
> (unsigned int)':
> bitlog.cc:246: error: integer constant is too large for "long" type
> make[2]: *** [bitlog.lo] Error 1
>

Hmm, the offender is:

  *pTimeBuffer  = (unsigned long long)0xffffffffffffffff;

If you don't mind, try changing this to just

  *pTimeBuffer  = (unsigned long long)0xffff;

Or you can wait a few hours for the fix to propogate through CVS.

I really shouldn't have used a hard-coded constant there anyways...


> I used ./configure and make after the update. Is there anything special
> I need to do? Like what was needed on the first build from CVS?

I think you did every thing okay - the error was in the code I checked
into CVS yesterday.

Scott
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.