On 21 Feb 2007, at 00:14, Peter K. Stys wrote:

> On 2/20/07, Didier CUGY <[EMAIL PROTECTED]> wrote:
>> OK i began with XCODE (i'm a newbe)
>>
>> there is many errors like
>>
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:123: error: redefinition of typedef
>> 'BackgroundTaskProc'
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:100: error: previous declaration of
>> 'BackgroundTaskProc' was here
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:422: error: conflicting types for  
>> 'REALnewInstance'
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:325: error: previous declaration of
>> 'REALnewInstance' was here
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:457: error: parse error before '&' token
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:568: error: conflicting types for
>> 'REALGetPropValue'
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:567: error: previous declaration of
>> 'REALGetPropValue' was here
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:569: error: conflicting types for
>> 'REALGetPropValue'
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:567: error: previous declaration of
>> 'REALGetPropValue' was here
>> /Users/dcugy/Développement/RealBasic/FFT Plugin/FFT_Plugin_Mach-O/
>> Includes/rb_plugin.h:570: error: conflicting types for
>> 'REALGetPropValue'
>>
>> e.g. BackGroundTaskProc is defined twice in the rb_plugin.h
>>
>> what i have to do ?to remove these errors ?


#pragma once

or

#ifndef __MY_FILE_NAME__

or

some sort of gcc compiler setting, look it up yourself.

I prefer ifndef because it works everywhere.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to