[gmpi] Re: GMPI Hosting code

  • From: "Jack O'Quin" <joq@xxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Sun, 13 Feb 2005 23:16:27 -0600

Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> writes:

>>Here's the GMPI hosting code so far.
>>   Note the first two steps are Windows-specific, perhaps a Linux person 
>>could help out here.
>
> Sure, love to. But note that your code is not ANSI C because it is using
> C++-style mid-function declaration of local variables.

Technically it is, because C99 now allows it.  But, best practice is
to avoid it because so many existing compilers still enforce the older
C89 rules.

GMPI should follow that restriction.

-- 
  joq

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: