delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/16/00:57:41

Date: Wed, 16 Mar 94 14:09:30 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: M DOT Piff AT sheffield DOT ac DOT uk
Cc: dj AT ctron DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Graphics and C++

>%%>> 1) In graphics.h, lines 79-84, Blit appears to be declared twice.
>%%>
>%%>Yes, it is.  With two different sets of arguments.  Welcome to C++ -
>%%>you can do this!
>
>But when I compile, I get an error message.

Are you sure you're using cc1plus?  Try GCC -v.  Make sure the source
is named nantoka.CC or other C++ extension.  Note that header files
often get included in other header files, so you may not be aware that
you're including this header file into a C program.

    --Steve

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019