AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.06.09 14:36 "problem with inlining of find[01]span in tif_fax3.c", by Thom Decarlo
2005.06.09 14:45 "Re: problem with inlining of find[01]span in tif_fax3.c", by Thom Decarlo

2005.06.09 14:36 "problem with inlining of find[01]span in tif_fax3.c", by Thom Decarlo

Hi,

I'm getting a compile error in tif_fax3.c when compiling this morning's cvs
on a WinXP computer using VS7.1. 

tif_fax3.c
tif_fax3.c(780) : error C2054: expected '(' to follow 'inline'
tif_fax3.c(781) : error C2085: 'find0span' : not in formal parameter list
tif_fax3.c(781) : error C2143: syntax error : missing ';' before '{'
tif_fax3.c(839) : error C2054: expected '(' to follow 'inline'
tif_fax3.c(840) : error C2085: 'find1span' : not in formal parameter list
tif_fax3.c(840) : error C2143: syntax error : missing ';' before '{'
tif_fax3.c(925) : warning C4013: 'find0span' undefined; assuming extern
returning int
tif_fax3.c(930) : warning C4013: 'find1span' undefined; assuming extern
returning int
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.


It appears to have something to do with the inline modifier of the function
definition. If I remove the "inline" then tif_fax3.c compiles properly. 


--
Thom DeCarlo
---------------------------------
Where are we going and why am I in this handbasket?