Fwd: Re: C program to write to the com port - RESOLVED

Roland Smith rsmith at xs4all.nl
Fri Sep 9 05:55:10 PDT 2005


On Fri, Sep 09, 2005 at 01:53:49PM +0200, vittorio wrote:
> 
> As a C++ absolute beginner I'm trying to compile your testssc.c file with
> 
> g++ testssc.c -o testssc
> (under freebsd 5.4, gcc version 3.4.2)

The C and C++ languages are different. Use cc or gcc instead of g++ to
compile C code.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050909/5b94f672/attachment.bin


More information about the freebsd-questions mailing list