[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] uint64
From: |
Greg Troxel |
Subject: |
Re: [Discuss-gnuradio] uint64 |
Date: |
16 Feb 2006 09:23:41 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
The existing gr_types.h file does the following for the current types:
typedef short gr_int16;
typedef int gr_int32;
typedef unsigned short gr_uint16;
typedef unsigned int gr_uint32;
That's not portable; int is usually 64 bits on alphas.
Probably the best bet is to have an autoconf test for <stdint.h>, and
include and use those types to define gr_foo if it is present, and if
not have OS-specific workarounds. stdint is C99, so it's unlikely
that any system that can build all of GNU Radio's dependencies won't
have it.
--
Greg Troxel <address@hidden>