Re: [cc65] Difference between __fastcall and __fastcall__ ?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-05-03 11:12:07
On Sun, May 02, 2010 at 08:11:40PM -0500, Payton Byrd wrote:
> I'm using Visual Studio 2010 as my IDE and for the most part it's totally
> cool with the cc65 specific source files.  The only that that trips it up is
> the __fastcall__ convention with two trailing underscores.  VS 2010 actually
> recognizes __fastcall as a keyword and colors it appropriately so long as it
> doesn't have the trailing spaces.  Is __fastcall a standard convention that
> means the same thing as __fastcall__ in cc65?

Actually I don't know. I assume it's something else, but even if not, that
doesn't make a real difference.

> The reason I ask is that Intellisense for VS 2010 does a great job with my
> sources, but not so much with the header files in the cc65/include folder.
>  The reason why is that it thinks that the __fastcall__ macro is an error
> and so each and every function defined in the include files parses as an
> error and there are literally over 100 intellisense errors reported on the
> header files.  It's nothing *important* for this to work, but it would be
> nice if it did.  If cc65 could accept __fastcall as the same thing as
> __fastcall__ then the header files could be updated to the __fastcall
> convention and intellisense would be happy which would make VS just that
> much more awesome for cc65 development (which it is already pretty awesome).

And if the next vendor flags __fastcall as an error and only accepts
__satanarchäolügenialkohöllisch then I would add that one, too? Sorry, but I'm
definitely not going to adjust cc65 to the syntax highlighting of some
compiler vendor.

The correct way is of course to adjust intellisense. While I'm using VS almost
daily, I don't know it good enough to have a complete solution. A quick search
using Google finds this page for example:

  http://www.catch22.net/tuts/vctips

There's probably more information out in the net. You can also have a look at
other tools like Eclipse, which may be easier extendible.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon May 3 11:12:13 2010

This archive was generated by hypermail 2.1.8 : 2010-05-03 11:12:15 CEST