This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/41219] libgfortran build warnings



------- Comment #2 from burnus at gcc dot gnu dot org  2009-09-03 07:12 -------
Nightstrike: I do not understand
  libgfortran/intrinsics/getlog.c:85:3: warning: implicit declaration of 
                                                 function ?getlogin?
There is a
  #if defined __MINGW32__ && !defined  HAVE_GETLOGIN
block which should make sure that it is defined. Can you try to find out what
goes wrong?

 * * *

Janne, I think the warning about "unix.c:750:15: warning: ?statbuf.st_mode? may
be used uninitialized" is spurious, but can you have a look?

 * * *

Jerry, there is some inconsistency regarding st_parameter_dt's "saved_type".
One finds both "bt" and "dtype" assignments, which does not make sense. Does
one need both types in a union? Or can one consolidate them?

list_read.c:  dtp->u.p.saved_type = BT_LOGICAL;
list_read.c:      dtp->u.p.saved_type = GFC_DTYPE_UNKNOWN;
etc.

Currently, one gets a compile-time warning (see comment 0).


In write_a_char4, one has:
      const char crlf[] = "\r\n";
              write_default_char4 (dtp, crlf, 2, 0);
but the second argument should be  gfc_char4_t*


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jb at gcc dot gnu dot org,
                   |                            |jvdelisle at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41219


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]