error of compilation with acedb

Ed Griffiths edgrif at sanger.ac.uk
Thu Oct 12 05:40:23 EST 2000

> I have compiled ACEDB and i have some warning  but when i compile
> defcpt.c  i have the following error
>     defcpt.c:85: initializer element is not constant

This problem is now fixed, it occurs because on Linux 'stdin' and 'stderr' are
defined to be the actual stdin/stderr file pointers and so are not constant, on
other machines there is a per process struct that contains its own pointers to
stdin/stderr, this struct is constant and so the compilation works on other

The code has been changed so it does not assume that stdin/stderr are constant.

cheers Ed

| Ed Griffiths, Acedb development, Informatics Group,                    |
|               The Sanger Centre, Wellcome Trust Genome Campus,         |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif at sanger.ac.uk   URL: http://www.sanger.ac.uk/Users/edgrif |
|   Tel: +44-1223-494780       Fax: +44 1223 494919                      |

More information about the Acedb mailing list

Send comments to us at biosci-help [At] net.bio.net