[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tsp-devel] Chti prob de compil
From: |
Frederik Deweerdt |
Subject: |
Re: [Tsp-devel] Chti prob de compil |
Date: |
Thu, 23 Sep 2004 10:59:16 +0200 |
User-agent: |
Mutt/1.4.2i |
Le Thu, Sep 23, 2004 at 08:44:08AM +0200, PAGNOT, Robert écrivit:
> Je réponds sur le pb GETOPT (vive le ping-pong ...)
>
> Solaris : #include <stdlib.h>, mais c'est une erreur, voir
> http://gcc.gnu.org/ml/gcc-patches/2002-10/msg00757.html
> Linux : #include <unistd.h>
> VxWorks : n'existe pas, mais on s'en fout ...
> OpenBSD : je ne sais pas, tu dis donc #include <getopt.h> ? Le GNU
> indique bien unistd.h ...
>
Je viens de vérifier: http://www.opengroup.org/onlinepubs/009695399/, en fait il
semble qu'il faille déclare optarg, en plus de l'include <unistd.h>:
extern char *optarg;
A+
Fred
- [Tsp-devel] Chti prob de compil, Frederik Deweerdt, 2004/09/22
- RE: [Tsp-devel] Chti prob de compil, Eric.NOULARD, 2004/09/23
- RE: [Tsp-devel] Chti prob de compil, PAGNOT, Robert, 2004/09/23
- Re: [Tsp-devel] Chti prob de compil,
Frederik Deweerdt <=
- RE: [Tsp-devel] Chti prob de compil, TSP, 2004/09/23
- RE: [Tsp-devel] Chti prob de compil, TSP, 2004/09/23
- RE: [Tsp-devel] Chti prob de compil, Eric.NOULARD, 2004/09/23