Marco Bleich wrote:
> Next problem...
> 
>> concordance.cpp is deprecated and no longer used. See concordance.c. Once
>> concordance.c has been built in windows and linux, I'll delete
>> concordance.cpp.
> I have about 1 Zillion compiler errors because of that... :-/
> 
> Correct me if I'm wrong, but if "concordance.c" is REALLY a 'C'-source it
> should only use ANSI-C syntax; That means ALL variable declarations have to
> be at the top of the function body.
> For example:
> -
> function_call_a();
> int funny_var = 7;
> function_call_b();
> -
> is NOT correct 'C'-Syntax!

According to my compiler, it is. :) You're thinking PRE-ANSI. Like K&R
original C. ANSI added lots to the language even before c99 came along.

However, there were about 25 errors when I turned on strict ANSI checking
which I've fixed and committed. Give it a whirl and email me any errors.

-- 
Phil Dibowitz                             [EMAIL PROTECTED]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to