[futurebasic] Re: [FB] FBtoC : Iterate folder

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sat, 19 Jan 2008 08:48:42 +1300
Steve wrote:

> I am trying to adapt this IterateFolder function below to run in  
> FBtoC.   But I am receiving these errors and cannot understand how  
> to fix them.

> /build_temp/_2_macpos.c:1173: error: conflicting types for  
> 'FSIterator'
> /build_temp/_2_macpos.c:1176: error: conflicting types for  
> 'FSIteratorFlags'
> /build_temp/_2_macpos.c:1180: error: redefinition of 'struct  
> HFSUniStr255'
> /build_temp/_2_macpos.c:1187: error: redefinition of 'struct  
> UnicodeMapping'
> /build_temp/_2_macpos.c:1195: error: redefinition of 'struct  
> UTCDateTime'
> /build_temp/_2_macpos.c:1203: error: redefinition of 'struct  
> ExtendedFileInfo'
> /build_temp/_2_macpos.c:1212: error: redefinition of 'struct  
> FSCatalogInfo'

These errors mean that your project code is directly declaring the  
Carbon types and record structs mentioned.
Instead, you should add Tlbx MoreFilesX.incl to the Headers group of  
your project.




Robert P.


Attachments: