On Feb 7, 2008, at 2:31 PM, Bill Wendling wrote:

> +/* LLVM LOCAL begin */
> +#ifdef ENABLE_LLVM
> +void
> +darwin_assemble_visibility (tree decl ATTRIBUTE_UNUSED, int vis)
> +#else
> void
> darwin_assemble_visibility (tree decl, int vis)
> +#endif

FWIW you can just mark it if there are occasions where it's not used  
and gcc won't complain.

i.e.

/* LLVM LOCAL */
darwin_assemble_visibility (tree decl ATTRIBUTE_UNUSED, int vis)

should be all you need.

-eric
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to