On Thu, 07 Aug 2008, Szakáts Viktor wrote:

Hi Viktor,

> ../../genc.c: In function 'hb_p_pushlonglong':
> ../../genc.c:1582: warning: unknown conversion type character 'L' in format

It stops to understand 'L' length modifier. In fact it should be 'll'
and for some historical reason is wrongly defined as 'L' in hbdefs.h.
Please change in hbdefs.h[656]:

   #ifndef PFLL
   #  if defined( __BORLANDC__ ) || defined( _MSC_VER )
   #     define PFLL    "I64"
   #  elif defined( __LCC__ )
   #     define PFLL    "ll"
   #  else
   #     define PFLL    "L"
   #  endif
   #endif

to:

   #ifndef PFLL
   #  if defined( __BORLANDC__ ) || defined( _MSC_VER )
   #     define PFLL    "I64"
   #  else
   #     define PFLL    "ll"
   #  endif
   #endif

We should make tests if it will not effect some builds.
I hope not and we will not have problems with currently
used C compilers.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to