🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41460

gcc and g++ help needed

#41460
From: durgaprasad ayyalasomayajula
Date: Wed, 10 Apr 1996 00:00
21 lines
1170 bytes
Hi ,
I am using some C code and C++ code combined together.
i.e something like this appears in the make file
OBJ = foo.o foo1.o
SRC = foo.C foo1.c(c file)
(pleae note I just meant how objects are depndent but nort the makefile
itself)
but during compilation, I am having problems.
gcc says that all the functions in my foo1.c
are undefined.
What exactly is my problem.
I write my code with ANSII standrad.
When I use g++, then it is getting compiled.
I need to port my software.
thanx.
--Prasad
--
######################################################################
#	Help ALL and Hurt None					     #
#       http://www.ccs.neu.edu/home/saibaba                          #
######################################################################
Technical Details
Message-ID: <4kgg6v$q2s@camelot.ccs.neu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,20cfcb796f147875,start
X-Google-Attributes: gid11318c,public
From: saibaba@ccs.neu.edu (durgaprasad ayyalasomayajula)
Subject: gcc and g++ help needed
Date: 1996/04/10
Message-ID: <4kgg6v$q2s@camelot.ccs.neu.edu>
X-Deja-AN: 146738010
organization: College of Computer Science, Northeastern University.
newsgroups: gnu.gcc.help