Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, November 8, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  libcfg+  »  Bug list  »  Bug #37

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000037 library core major always 2003-02-24 18:58 2003-02-24 22:45
 
Reporter rajo View Status public  
Assigned To
Priority normal Resolution open Platform
Status confirmed Duplicate ID OS
Projection none Version
ETA none Product Version current from CVS
  Product Build
  Votes 1
 
Summary can't compile example with -Wall -pedantic
Description Programs like example in doc/ directory is not compilable with -Wall -pedantic flags.
Error follows
<pre>
18:51 amd2 [~/prog/cvs/libcfg+/doc/examples]: make
cc -I../../src -O2 -Wall -Wshadow -pedantic -ansi -c -o example.o example.c
example.c: In function `main':
example.c:46: initializer element is not computable at load time
example.c:46: (near initialization for `options[0]')
example.c:47: initializer element is not computable at load time
example.c:47: (near initialization for `options[1]')
example.c:48: initializer element is not computable at load time
example.c:48: (near initialization for `options[2]')
example.c:49: initializer element is not computable at load time
example.c:49: (near initialization for `options[3]')
example.c:51: initializer element is not computable at load time
example.c:51: (near initialization for `options[4]')
make: *** [example.o] Error 1
18:51 amd2 [~/prog/cvs/libcfg+/doc/examples]:
</pre>
Steps To Reproduce cd libcfg+/dox/example && make CFLAGS="-Wall -pedantic"
Additional Information / Solution void *value field in structure struct cfg_option will be not initialized with pointer to variable
Attached Files

There are no notes attached to this bug.

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy