[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Name Conflict With Multiple Parsers In Same Program

From: Bob Smith
Subject: Re: Name Conflict With Multiple Parsers In Same Program
Date: Thu, 14 Jun 2007 04:49:04 -0500
User-agent: Thunderbird (Windows/20070326)

On 6/13/2007 10:42 PM, Paul Eggert wrote:
Bob Smith <address@hidden> writes:

The #includes common to all files are the .pro files generated by the
C compiler.  Each .pro file contains the prototypes for each function
in the corresponding .c file.

Sorry, I don't follow.  What is the point of a .pro file containing a
prototype for a static function?  Static functions aren't visible to
any module outside the corresponding .c file.  Shouldn't static
functions always be suppressed from .pro files that you intend to
include elsewhere?

I agree.

However, if there's a compiler switch to suppress static functions from the output when generating prototypes, I'm missing it.

Bob Smith - address@hidden - http://www.sudleyplace.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]