#define problem

#define MAX_PRESET 4000000000

When I do this the compiler keeps screaming about how it is so large it is
unsigned (decimal constant so large it is unsigned). Is there anyway for the
compiler to not warn me about this and assume it is unsigned anyway? not a
critical problem just annoying every time I compile.

I’m running QNX 6.2.0 PE

Any suggestions would be appreciated

Scott

Scott A. <scott.anderson@fkilogistex.com> wrote:

#define MAX_PRESET 4000000000

When I do this the compiler keeps screaming about how it is so large it is
unsigned (decimal constant so large it is unsigned). Is there anyway for the
compiler to not warn me about this and assume it is unsigned anyway? not a
critical problem just annoying every time I compile.

#define MAX_PRESET 4000000000U


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Thanks Brian


Scott A.



“Brian Stecher” <bstecher@qnx.com> wrote in message
news:b770hd$936$1@nntp.qnx.com

Scott A. <> scott.anderson@fkilogistex.com> > wrote:
#define MAX_PRESET 4000000000

When I do this the compiler keeps screaming about how it is so large it
is
unsigned (decimal constant so large it is unsigned). Is there anyway for
the
compiler to not warn me about this and assume it is unsigned anyway? not
a
critical problem just annoying every time I compile.

#define MAX_PRESET 4000000000U


Brian Stecher (> bstecher@qnx.com> ) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M
1W8