Re: Compiling on FreeBSD
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Ben Suffolk wrote:
>>> After the upgrade of GCC it compiles fine, hope that can shed some
>>> light on the problem for you.
>>
>>
>> actually: nop ;)
>
>
> Ok I had a theory, and did a little bit of playing around. I can now
> make it compile under the default version of GCC.
>
> Its because the declaration of the variables pid and *f do not come at
> the start of a block.
>
> Attached is a patch file to do this.
yep!... good catch, this is not our "CodingStyle" rule according... will commit
patch. Thanks a lot.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------