Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!zardoz.coral.COM!don From: don@zardoz.coral.COM (Don Dewar) Newsgroups: comp.windows.x Subject: XmStringCreateLtoR declaration inconsistent with actual function Message-ID: <9006271358.AA01652@zardoz.coral.com> Date: 27 Jun 90 13:58:48 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 In Xm.h, XmStringCreateLtoR is declared with no arguments. Using G++, if the switch -fno-strict-prototype is set, files calling this function compile fine. Otherwise, an error alluding to incorrect number of parameters results. I like the extra checking that G++ does for parameter checking. Will there ever be definitions for this function and other function like it in this file that match the actual parameters of the function definition? Shouldn't there be? +---------+ | Coral | |@@@@@*@**| |@@*@@**@@| Don Dewar |*@@**@@@@| Coral Network Corporation, Marlborough, MA |@***@@@@@| Internet: don@coral.com |@@**@@@@@| Phone: (508) 460-6010 |*********| Fax: (508) 481-6258 |Networks | +---------+