freetype-devel
[Top][All Lists]
Advanced

[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/ftconfig.in,
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?

Jens

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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