delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/10/13:51:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Subject: RE: What is the correct behavior for the following code?
Date: Mon, 10 May 1999 10:33:59 -0800
Message-Id: <43987779.3.3073@mx1-13.onmedia.com>
Reply-to: "Tom St Denis" <tomstdenis AT goplay DOT com>
From: "Tom St Denis" <tomstdenis AT goplay DOT com>
To: cwebb AT emailbox DOT hdtv DOT lucent DOT com, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

>I have been having some portability problems with
>scanf %i and %X.

Try this conversion

	%i to %ld
and
	%x to %lx

Some compilers don't reconize %i and some others don't like the short 
hex format...

Tom

+--------------------------------------------------------------------------+
| The coolest site for free home pages, email, chat, e-cards, movie info.. |
|               http://www.goplay.com - it's time to Go Play!              |
+--------------------------------------------------------------------------+

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019