[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
no `long long' type in C++
From: |
Andreas.P.Priesnitz |
Subject: |
no `long long' type in C++ |
Date: |
Sat, 12 Oct 2002 18:30:15 +0200 (MET DST) |
Hello!
When compiling a lex.yy.cc generated by flex 2.5.22 (using
FLEX_NEED_INTEGRAL_TYPE_DEFINITIONS !), I get warnings for the C-standard, but
non-C++-standard types "long long" and "unsigned long long" being used.
It is just a warning, so not a problem, but it seems (sorry, i've NO clue
about the flex internals) to be fixed by this patch to flexint.h (and
re-generating `skel.c'/`scan.c'?):
>>>>>>>>>> begin patch
17c17
< # if __WORDSIZE == 64 || defined __arch64__
---
> # if __WORDSIZE == 64 || defined __arch64__ || defined __cplusplus
29c29
< #if __WORDSIZE == 64 || defined __arch64__
---
> #if __WORDSIZE == 64 || defined __arch64__ || defined __cplusplus
<<<<<<<<<< end patch
Regards and thanks,
Andreas
=:-) #-/ :o( %~) \.^v :{) 8-| ;-) /,^\
Job:
Institut fuer Numerische und Angewandte Mathematik
Zimmer 221
Lotzestrasse 16-18
D-37083 Goettingen
Tel: ++49-551-39-4513
Fax: ++49-551-39-3944
address@hidden
http://www.num.math.uni-goettingen.de/priesnit
- no `long long' type in C++,
Andreas.P.Priesnitz <=