On Wed, Nov 6, 2013 at 4:54 PM, Reuben Thomas <[email protected]> wrote:
> I turned on tight-scope by pointing it at a directory with a library in.
>
> To start with, it (somewhat confusingly) tells me that all my API functions
> should be static. It doesn't seem to have the option to say they should be
> extern. This is not so bad, of course: I can work out that I should have
> marked them extern.
>
> However, when I mark just one of the names extern in the C file, the test
> succeeds.

Hi Reuben,

Can you investigate, e.g., instrumenting those rules to see what's
happening (then I don't have to ask for instructions on how to
reproduce :-), for example, by, inserting "| tee /tmp/1" or similar in
piplelines to see what intermediate results look like?

Another way to avoid warnings is to configure the rule so that it
knows where your functions are declared. Override _gl_TS_headers to do
that.

Thanks,
Jim

Reply via email to