🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
1 messages
1 total messages Started by Malcolm Franklin Tue, 29 Dec 1992 03:20
Problem building idemo on Sun
#1248
Author: Malcolm Franklin
Date: Tue, 29 Dec 1992 03:20
52 lines
2389 bytes
Configuration:
----------------------------------------------
SunOS 4.1.2 running on a Sparc 2 box
InterViews 3.1 Distribution
X11R5
Sunc C++ compiler version 2.0FCS/4.0 (09/29/89)


Here's what happens when I try to build idemo:

CC +p   -g   -Dcplusplus_2_0     -I../../../.././src/include -I/all/edu/X11R5/include  -pipe -c ../main.c
CC  +p +g ../main.c:
cc   -c -I/all/edu/CC/sun4/incl -I../../../.././src/include -I/all/edu/X11R5/include  -g -pipe main.c
"../main.c", line 138: warning: illegal combination of pointer and integer, op =
"../main.c", line 138: warning: shortening &times_menu may lose significance
"../main.c", line 138: illegal initialization
"../main.c", line 138: warning: illegal combination of pointer and integer, op =
"../main.c", line 138: warning: illegal combination of pointer and integer, op =
"../main.c", line 138: warning: shortening &helv_menu may lose significance
"../main.c", line 138: warning: illegal combination of pointer and integer, op =
make: *** [main.o] Error 1


Line 138 of iv/src/bin/idemo/main.c is the beginning of an initialization that
looks just like several others before it:


CommandInfo helv_menu[] = {
    { "Normal", &App::do_nothing },
    { "Bold", &App::do_nothing },
    { "Oblique", &App::do_nothing },
    { nil }
};


CommandInfo fontmenu[] = {                   <-------- This is line 138 ---<<<<
    { "Times", nil, times_menu, 2 },
    { "Helvetica", nil, helv_menu, 2 },
    { nil }
}

Can anyone figure this one out?

Thanks,
--Malcolm

-- 
--------------------------------------------------------------------------------
Malcolm L. Franklin                email:   Malcolm_Franklin@chdasic.sps.mot.com
Motorola ASIC CAD                  Phone:   (602) 821-4371
CAE Systems                        Fax:     (602) 821-4963
--------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads