Changes between Initial Version and Version 1 of Ticket #42348


Ignore:
Timestamp:
Feb 1, 2014, 6:51:25 PM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The warning you quoted is just a warning. The real problem is what comes after the warning:

:info:build gvrender_ming.c:94:50: error: unknown type name 'textpara_t'; did you mean 'textspan_t'?
:info:build static void ming_textpara(GVJ_t * job, pointf p, textpara_t * para)
:info:build                                                  ^~~~~~~~~~
:info:build                                                  textspan_t
:info:build ../../lib/common/textspan.h:63:7: note: 'textspan_t' declared here
:info:build     } textspan_t;
:info:build       ^
:info:build gvrender_ming.c:126:45: error: no member named 'fontsize' in 'textspan_t'
:info:build     SWFTextField_setHeight(textfield, para->fontsize);
:info:build                                       ~~~~  ^
:info:build gvrender_ming.c:133:20: error: no member named 'width' in 'textspan_t'
:info:build         offset.x = -para->width;
:info:build                     ~~~~  ^
:info:build gvrender_ming.c:137:20: error: no member named 'width' in 'textspan_t'
:info:build         offset.x = -para->width/2.;
:info:build                     ~~~~  ^
:info:build gvrender_ming.c:141:23: error: no member named 'height' in 'textspan_t'
:info:build     offset.y = -para->height + para->fontsize*.4;  /* empirically determined */
:info:build                 ~~~~  ^
:info:build gvrender_ming.c:141:38: error: no member named 'fontsize' in 'textspan_t'
:info:build     offset.y = -para->height + para->fontsize*.4;  /* empirically determined */
:info:build                                ~~~~  ^
:info:build 1 warning and 6 errors generated.

Confirmed with graphviz @2.36.0 and @2.37.20140201.0545. I've reported it to the developers: http://www.graphviz.org/mantisbt/view.php?id=2420

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42348

    • Property Status changed from new to assigned
    • Property Cc ryandesign@… removed
    • Property Summary changed from Latest graphviz with +ming variant build errors to graphviz @2.36.0 +ming: error: unknown type name 'textpara_t'; did you mean 'textspan_t'?
    • Property Owner changed from macports-tickets@… to ryandesign@…
    • Property Port graphviz-devel added
  • Ticket #42348 – Description

    initial v1  
    11See attached log.
    22
     3{{{
    34gvrender_ming.c:45:15: warning: unused variable 'action' [-Wunused-variable]
     5}}}
    46
    57Workaround is to build without +ming variant.