Article View: comp.os.mach
Article #1181mk78 compiler warning
From: Elaine Palmer
Date: Tue, 05 Jan 1993 19:03
Date: Tue, 05 Jan 1993 19:03
27 lines
1426 bytes
1426 bytes
Should I be concerned about the following compiler warning? I'm attempting to build mk78 for an i386 platform. I did not modify the source from CMU. gcc -c -O -MD -DMACH -DMACH_KERNEL -DKERNEL ../../../../../src/mk/kernel/kern/eventcount.c kern/eventcount.c: In function evc_continue: kern/eventcount.c:135: warning: `volatile' function does return And how about this one? gcc -c -O -MD -DMACH -DMACH_KERNEL -DKERNEL ../../../../../src/mk/kernel/device/chario.c device/chario.c:169: warning: initialization between incompatible pointer types I guess I naively expected the unmodified, plain vanilla kernel to compile cleanly with no warnings. All other files were ok. False expectations or cockpit error? Elaine R. Palmer ( epalmer@watson.ibm.com ) Distributed Security Systems (914) 784-6642 IBM T. J. Watson Research Center P.O.Box 704 Yorktown Heights, NY 10598
Technical Details
Message-ID:
<1993Jan05.190355.20634@watson.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!cajun1.watson.ibm.com!epalmerShow Full Headers
Complete Article Headers
Newsgroups: comp.os.mach Path: arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!cajun1.watson.ibm.com!epalmer From: epalmer@cajun1.watson.ibm.com (Elaine Palmer) Subject: mk78 compiler warning Sender: @watson.ibm.com Message-ID: <1993Jan05.190355.20634@watson.ibm.com> Date: Tue, 05 Jan 93 19:03:55 GMT Reply-To: epalmer@cajun1.watson.ibm.com (Elaine Palmer) Organization: IBM TJ Watson Home for Tired Hackers Keywords: mk78 evc_continue warning Lines: 27