epsilon-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling with xlc


From: Luca Saiu
Subject: Re: compiling with xlc
Date: Tue, 02 Mar 2021 22:39:49 +0100
User-agent: Gnus (Gnus v5.13), GNU Emacs 27.0.50, x86_64-pc-linux-gnu

On 2021-02-28 at 23:39 +0100, Bruno Haible wrote:

> Compiling poke 1.0+ with xlc on AIX 7.1, I get a compilation error:
>
> [...]
> xlc: 1501-289 (W) Option -Wall was incorrectly specified. The option will be 
> ignored.
> "/home/haible/poke-1.0a/jitter/jitter/jitter-hash.h", line 158.1:
> 1506-120 (W) Function cannot return a const qualified type.

I am actually not sure about this one; is it because the returned union
has a pointer-to-const member?  I doubt it.  However it is not so
important, and...

> "/home/haible/poke-1.0a/jitter/jitter/jitter-hash.h", line 237.1: 1506-120 
> (W) Function cannot return a const qualified type.
> "/home/haible/poke-1.0a/jitter/jitter/jitter-hash.h", line 270.1:
> 1506-120 (W) Function cannot return a const qualified type.

...These two are easy to fix.

> "../../libpoke/pvm.jitter", line 5571.4: 1506-117 (S) Operand must be a 
> scalar type.
> make: 1254-004 The error code from the last command is 1.  [...]

Fixed that by removing the casts as you suggested.  Great.

Thanks again Bruno.

-- 
Luca Saiu
* My personal web site:  http://ageinghacker.net
* Jitter:                http://ageinghacker.net/projects/jitter
* GNU epsilon:           http://www.gnu.org/software/epsilon

I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]