Re: [Plib-users] (newbie) Problems with installing PLIB on a Maci ntosh.
Brought to you by:
sjbaker
|
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-11-06 14:15:49
|
Otto,
I'm looking at the source code in "jsMacOSX.cxx" and I wonder if
removing the word "static" from line 278 will fix the problem:
&elementEnumerator, joy);
}
- static void os_specific_s::elementEnumerator( const void *element, =
void*
vjs)
+ void os_specific_s::elementEnumerator( const void *element, void* =
vjs)
{
if (CFGetTypeID((CFTypeRef) element) !=3D CFDictionaryGetTypeID()) =
{
The confusion comes because the function is declared to be static =
within the
structure. The "static" keyword out in the open in front of a function
definition means something different.
I apologize for taking five months and some to look at the problem.
John F. Fay
Technical Fellow
Jacobs/Sverdrup TEAS Group
850-883-1294=20
-----Original Message-----
From: pli...@li...
[mailto:pli...@li...] On Behalf Of Otto =
Halm=E9n
Sent: Monday, May 29, 2006 9:59 AM
To: pli...@li...
Subject: [Plib-users] (newbie) Problems with installing PLIB on a =
Macintosh.
<snip>
jsMacOSX.cxx:278: error: cannot declare member function 'static void=20
os_specific_s::elementEnumerator(const void*, void*)' to have static =
linkage
make[2]: *** [jsMacOSX.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
------------------------------------------------------------------
|