<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40616 >

Hello,

Using O_MAX rather than O_COUNT does work.  Moving the definition out of the
function into file scope does not work..

Sincerely,
James McClain

On Wed, Dec 31, 2008 at 9:14 PM, Madeline Book <madeline.b...@gmail.com>wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=40616 >
>
> Thank you for the explanations and the error message output,
> that makes the situation somewhat clearer.
>
> I still suspect that the problem lies in the definition of
> 'struct repoinfo'. Can you please try moving it outside the
> scope of activeunits_report_dialog_update() (i.e. into file
> scope), and seeing if that fixes the problem? Also, try
> O_MAX instead of O_COUNT.
>
> Failling that, O_COUNT could be defined to a literal numeric
> constant (i.e. 6), or the 'upkeep' field in repoinfo renamed.
>
> Searching for that error message on the web yields a bunch
> of pages that seem to imply it is due to a bug in the sun
> compiler. The fact that somehow the compiler gets confused
> with the "int upkeep;" in 'struct packet_ruleset_building'
> in common/packets_gen.h would also suggest this.
>
>
> -----------------------------------------------------------------------
> 一等賞はとても素敵ですね。
>
>
>


-- 
(From Memory Alpha) Doctor Richard Daystrom was one of the most influential
human scientists of the 23rd Century. Daystrom who was born ca. 2219, was
considered a genius in his day, and was compared to such minds as Albert
Einstein, Kazanga and Sitar of Vulcan.

Hello,

Using O_MAX rather than O_COUNT does work.  Moving the definition out of the function into file scope does not work..

Sincerely,
James McClain

On Wed, Dec 31, 2008 at 9:14 PM, Madeline Book <madeline.b...@gmail.com> wrote:

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40616 >

Thank you for the explanations and the error message output,
that makes the situation somewhat clearer.

I still suspect that the problem lies in the definition of
'struct repoinfo'. Can you please try moving it outside the
scope of activeunits_report_dialog_update() (i.e. into file
scope), and seeing if that fixes the problem? Also, try
O_MAX instead of O_COUNT.

Failling that, O_COUNT could be defined to a literal numeric
constant (i.e. 6), or the 'upkeep' field in repoinfo renamed.

Searching for that error message on the web yields a bunch
of pages that seem to imply it is due to a bug in the sun
compiler. The fact that somehow the compiler gets confused
with the "int upkeep;" in 'struct packet_ruleset_building'
in common/packets_gen.h would also suggest this.


-----------------------------------------------------------------------
一等賞はとても素敵ですね。





--
(From Memory Alpha) Doctor Richard Daystrom was one of the most influential human scientists of the 23rd Century. Daystrom who was born ca. 2219, was considered a genius in his day, and was compared to such minds as Albert Einstein, Kazanga and Sitar of Vulcan.
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to