Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++ Subject: Re: Strict aliasing and buffer handling Date: Tue, 21 Jun 2011 20:14:31 +1200 Lines: 24 Message-ID: <96b27lFsmeU6@mid.individual.net> References: <4e0043f3$0$15665$4fafbaef@reader2.news.tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net yQXXcexV1ZrepmcZhdtI0wbKxguOWRb2OwP2bbkTt0B32r58G7 Cancel-Lock: sha1:kyEzQrTZpn6XyaoYKBsK+evBHkY= User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: <4e0043f3$0$15665$4fafbaef@reader2.news.tin.it> Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:6994 On 06/21/11 07:12 PM, io_x wrote: > "Francois Duranleau" ha scritto nel messaggio > news:f70612e6-c4e9-4166-842a-afc158fba36e@k6g2000yqc.googlegroups.com... > > i don't know if this is right, it is only one try it is something about: > ---------- > #include > #include > #include > > // macro for types > #define u64 uint64_t > #define u32 uint32_t > #define u16 uint16_t > #define u8 uint8_t > #define uns unsigned > > // macro for function > #define P printf NO! -- Ian Collins