public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brian Gough <bjg@network-theory.co.uk>
To: Ivo Alxneit <ivo.alxneit@psi.ch>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: strange warning in gsl_matrix_float_set
Date: Sun, 20 Oct 2002 06:06:00 -0000	[thread overview]
Message-ID: <15794.39651.773036.350091@debian> (raw)
In-Reply-To: <E182QR9-0005gW-00@ultra16.uk2net.com>

Ivo Alxneit writes:
 > well according to the mainual -Wconversion deals with warnings due to
 > signed/unsigned variables. i get a waring due to float/double even
 > though the prototype in gsl_matrix_float.h is

`-Wconversion'
     Warn if a prototype causes a type conversion that is different
     from what would happen to the same argument in the absence of a
     prototype.

In the absence of a prototype float is promoted to double, as in the
old K&R C, hence the warning.  The float/double warning always occurs
with -Wconversion, so I only use that option for occassional checks.

  parent reply	other threads:[~2002-10-20 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E181NdC-00048U-00@ultra16.uk2net.com>
2002-10-15 15:06 ` Brian Gough
2002-10-17 23:16   ` Ivo Alxneit
     [not found]   ` <E182QR9-0005gW-00@ultra16.uk2net.com>
2002-10-20  6:06     ` Brian Gough [this message]
2002-10-15  2:04 Ivo Alxneit

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15794.39651.773036.350091@debian \
    --to=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sources.redhat.com \
    --cc=ivo.alxneit@psi.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).