This is the mail archive of the gcc@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]

Re: Warnings when building the Ada f-e


Duncan Sands wrote:
Building gcc from svn today I see the following:

prj-nmsc.adb: In function ‘Prj.Nmsc.Check_Naming_Schemes’:
prj-nmsc.adb:3272: warning: ‘Casing’ may be used uninitialized in this function
...
g-socket.adb: In function ‘GNAT.SOCKETS.SEND_SOCKET’:
g-socket.adb:1786: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.RECEIVE_SOCKET’:
g-socket.adb:1586: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.GET_SOCKET_NAME’:
g-socket.adb:1001: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.CONNECT_SOCKET’:
g-socket.adb:623: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.CONNECT_SOCKET’:
g-socket.adb:655: warning: ‘REQ’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.BIND_SOCKET’:
g-socket.adb:396: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.ACCEPT_SOCKET’:
g-socket.adb:277: warning: ‘SIN’ is used uninitialized in this function
g-socket.adb: In function ‘GNAT.SOCKETS.GET_PEER_NAME’:
g-socket.adb:929: warning: ‘SIN’ is used uninitialized in this function
...
a-strmap.adb: In function ‘Ada.Strings.Maps.To_Set’:
a-strmap.adb:269: warning: ‘Result’ is used uninitialized in this function
a-strmap.adb: In function ‘Ada.Strings.Maps.To_Set’:
a-strmap.adb:285: warning: ‘Result’ is used uninitialized in this function
...
g-comlin.adb: In function ‘GNAT.COMMAND_LINE.FIND_LONGEST_MATCHING_SWITCH’:
g-comlin.adb:96: warning: ‘PARAM’ may be used uninitialized in this function
g-comlin.adb:96: note: ‘PARAM’ was declared here

This is x86_64-unknown-linux-gnu.

Ciao,

Duncan.

the a-strmap warning is junk


the g-comlin warning is at least missing documentation

to be looked at ...


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