public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chapman Flack <[email protected]>
Subject: Re: [Pljava-dev] Build Fails on Windows 7
Date: Thu, 18 Feb 2016 13:46:33 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On 02/18/2016 12:18 PM, Igal @ Lucee.org wrote:

>> I guess the printf format warnings are about this:
>> https://sourceforge.net/p/mingw-w64/mailman/message/24633511/
>>
>> ugh...
> Any thoughts what the implications of that would be?
> Arithmetic overflows?  Unexpected results?

Possibly bogus values appearing in messages printed from those
format strings (which I think only appear at debug levels anyway).

The most common solution I've seen other places is to define
macros for the correct printf formats that go with each type,
and ANSI-cpp-concat them into the format strings. Which is
clever but not very compatible with message localization.
So far there hasn't ever been any localization work on PL/Java,
but that doesn't mean I'm eager to make it harder....

Maybe it's better to just always use the printf format for the
widest known type, and widen-cast every corresponding argument.
That would be annoying but not get in the way of localization.
Of course that leads to the question, will every platform that
might want PL/Java have a printf that likes %lld?

The other warnings I saw were innocuous. Apparently PL/Java
just doesn't use the statementcancel, die, or quickdie handlers
when built on Windows. There is probably some sensible Windows
reason for that and I don't know what it is, but that #ifdef was
added in 2005 so if your build from today doesn't work, I don't
think that will be the reason. ;)

It's looking like you ought to start this thing up and take it
for a spin. If I were you I would initdb a new play database
for it before trying it out in, you know, payroll, but you
can't put off trying it forever. :)

-Chap
_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



view thread (23+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] Build Fails on Windows 7
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox