Operating System - OpenVMS
1828214 Members
2429 Online
109975 Solutions
New Discussion

X11 header files and C warnings

 
SOLVED
Go to solution
Martin P.J. Zinser
Honored Contributor

X11 header files and C warnings

Hello,

OpenVMS Alpha 7.3-1, CC 6.5, Motif 1.3

Try to compile the following minimalistic test program:

#include
#include
int main()
{
return EXIT_SUCCESS;
}


will throw a uselesstypequal warning from xlibint.h .

I know I can get rid of it using cc/warning=(disable=...), but this is a real annoyance.

Has this been fixed for Motif 1.3-1?

Greetings, Martin
4 REPLIES 4
Brad McCusker
Respected Contributor

Re: X11 header files and C warnings

Hi Martin,

I'm not familiar with the versions of Motif. I know very little about the various window systems.

I have a system with a brand new isntall of VMS and the "new desktop" - VMS 7.3-2, take from the distribution. I can't reprodcue your problem:

$ ty x.c
#include
#include
int main()
{
return EXIT_SUCCESS;
}

$ cc x.c
$ sho sym cc
%DCL-W-UNDSYM, undefined symbol - check validity and spelling
$ cc/ver
Compaq C V6.5-001 on OpenVMS Alpha V7.3-2
$

Does this answer your question? Is there some way to verify that I am using the Motif version you are asking about?

Brad McCusker
Brad McCusker
Software Concepts International
Martin P.J. Zinser
Honored Contributor

Re: X11 header files and C warnings

Hello Brad,

good news! I am pretty sure you are at 1.3-1 on a new system. One way to find out

@sys$update:decw$get_image_version sys$share:decw$xlibshr.exe

This should result in something like
DW V1.3-1xxxxx being print on the screen.

Greetings, Martin
Brad McCusker
Respected Contributor
Solution

Re: X11 header files and C warnings

Looks like it is 1.3-1:

$ @sys$update:decw$get_image_version sys$share:decw$xlibshr.exe
Image identification is DW V1.3-1030828
$


Brad
Brad McCusker
Software Concepts International
Martin P.J. Zinser
Honored Contributor

Re: X11 header files and C warnings

Hello Brad,

very nice, thank you for checking. One more reason to look forward to the 7.3-2 CD set ;-)

Greetings, Martin