[LLVMdev] Incompatible types at call site
arushi987 at gmail.com
Thu Apr 7 07:52:46 PDT 2011
That does solve the problem of the generated code.
Thanks a lot.
On Thu, Apr 7, 2011 at 3:34 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
> I got this from C code compiled by llvm-gcc.
>> There is a consistent prototype for the function
>> TypHandle Cyclotomic ( hdRes, n, m )
>> TypHandle hdRes;
>> long n, m;
> I just remembered that Kernighan and Ritchie style declarations like this
> have the semantics you might expect. In particular this is not equivalent
> TypHandle Cyclotomic ( TypHandle hdRes, long n, long m )
> If you change the declaration to the previous line, does the nasty
> go away?
> Ciao, Duncan.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev