Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rump and htonl() in constants



On Sat, Feb 28, 2015 at 01:16:11PM -0500, Christos Zoulas wrote:
> On Feb 28,  5:46pm, prlw1%cam.ac.uk@localhost (Patrick Welche) wrote:
> -- Subject: Re: rump and htonl() in constants
> 
> | Yes - I have DBG=-g -O0 in Makefile.rump
> | 
> | I thought that would help trying to step through a rump kernel in gdb - not
> | a good idea? (removing now)
> | 
> | I suppose that is why no one else is seeing this...
> 
> We could make this compile by adding an ifdef __OPTIMIZE__...

No, if you want to fix it make it use fixed size conversion macro from
sys/endian.h, it takes care of handling constants.

Joerg


Home | Main Index | Thread Index | Old Index