Re: ANSI C

2003-03-24 Thread Oleg Goldshmidt
Mark Veltzer [EMAIL PROTECTED] writes:

  If i am not mistaken - this in not so in ANSI C [i might be mistaken...
  the ritchieker. book is not so clear about this point]

It gives a warning about shadowing. I don't know what the standard
says about it. For all I know, it may be implementation-dependent or 
undefined. Don't do it.

  how compliant is gcc with ansi?

Very.

 1. info gcc will give you *** hundreds *** of pages documenting the
compiler.

This is by far the best gcc-related advice you'll ever see.

 2. gcc is much more standards compliant than any compiler I have ever seen.
 3. check out the -ansi flag to gcc.
 4. check out the -std flag to gcc.

But most of all - the -pedantic flag. Look all of them up in info.

 5. I recommend you do even more and pass compilation with the -Wall -Werror 
 flags.

-Werror will of cours turn the warning into an error.

In any case, I strongly suggest you avoid things like this in your
code.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Hebrew printing from KWord

2003-03-24 Thread Arie Folger
I checked, and this setting was already enabled. What now?

On Monday 24 March 2003 19:58, shlomo solomon wrote:
 On the print dialog, click System options (at the bottom) and make sure you
 have chosen **Embed fonts in Postscript data when printinf**. I hope this
 helps.

 On Monday 24 March 2003 17:43, Arie Folger wrote:
  This came up a few times, but there seem to be two kinds of kword users
  on list, those who managed to make Hebrew print and those who didn't.
 
  I have enabled font embedding with qtconfig. I installed ms-webfonts
  Arial, Courier New, Times New Roman and Tahoma. I disabled font
  substitution of Arial by Helvetica, and ticked on the enable support for
  right to left languages. Yet, when printing or previewing print jobs, I
  get only the latin characters of the page, and the rest is whitespace.
 
  Did anybody who had the problem solve it?
 
  Arie

-- 
It is absurd to seek to give an account of the matter to a man 
who cannot himself give an account of anything; for insofar as
he is already like this, such a man is no better than a vegetable.
   -- Book IV of Aristotle's Metaphysics

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Redhat 9 going out next week???

2003-03-24 Thread Hetz Ben Hamo
Hi,

 That's what I thought, until I, just to be safe, sent my browser to
 http://www.redhat.com. And lo and behold, what do I see there?

   Today: Get Red Hat Linux 9 early

 Linking to the following page:

   http://www.redhat.com/mktg/rh9iso/

Try this: http://www.redhat.com/index2.html

 Which says Red Hat 9 will be available on March 31, 2003 for Red Hat
 Network subscribers, and generally available in April 7, 2003.

 Weird. Very weird. Can anybody confirm or deny, or venture guess why the
 sudden version number jump?

The jump was due to the incompatibilities rolled - like the famous glibc which 
is NOT backward compatible, etc...

So Red Hat was basically forced to jump to 9 instead of 8.1, since 8.1 is 
not compatible with 8.0, so they moved to 9.0

Thanks,
Hetz

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Redhat 9 going out next week???

2003-03-24 Thread Nadav Har'El
On Mon, Mar 24, 2003, Hetz Ben Hamo wrote about Re: Redhat 9 going out next week???:
  Which says Red Hat 9 will be available on March 31, 2003 for Red Hat
  Network subscribers, and generally available in April 7, 2003.
 
  Weird. Very weird. Can anybody confirm or deny, or venture guess why the
  sudden version number jump?
 
 The jump was due to the incompatibilities rolled - like the famous glibc which 
 is NOT backward compatible, etc...

It's a strange explanation, because Redhat just sent out the new glibc
as an errata for Redhat 8.0 (because of some vulnerability discovered in
the XDR code of the old glibc). So the new glibc is ok as an errata (that
many people install without even thinking twice) but not as Redhat 8.1? 
trange...

Maybe the real explanation is that they are trying to beat Mandrake's
version number ;)

-- 
Nadav Har'El| Monday, Mar 24 2003, 21 Adar II 5763
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |An egotist is a person of low taste, more
http://nadav.harel.org.il   |interested in himself than in me.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]