[Top][All Lists]

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

[ft-devel] FT_BASE_DEF et al.

From: Jens Claudius
Subject: [ft-devel] FT_BASE_DEF et al.
Date: Sat, 26 Aug 2006 11:20:51 -0700 (PDT)

Hi all,

why does FT_BASE_DEF in freetype2/builds/unix/,
line 248, contain an `extern' when not compiling with a C++ compiler?
GCC 4.1.1 then warns:

freetype2/src/base/ftdbgmem.c:40: warning: '_ft_debug_file' initialized and
declared 'extern'
freetype2/src/base/ftdbgmem.c:41: warning: '_ft_debug_lineno' initialized and
declared 'extern'

Since FT_BASE_DEF is used for defining variables (and not for declaring them),
we don't need `extern', do we?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

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