<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #2907: is_shell_char - nonstatic function, static data



#2907: is_shell_char - nonstatic function, static data

 Hi,

 While compiling on Solaris using SunCC v 11:

 "enter.c", line 194: definition of non-constant static variable
 "shell_chars" in inline extern function
 "enter.c", line 195: reference to static identifier "shell_chars" in
 extern inline function

 Renaming
 inline int is_shell_char(wchar_t ch)
 to
 inline static int is_shell_char(wchar_t ch)

 makes things work

 Thanks

 --
         Vlad

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2907>