I looked into this a while ago. It seemed related to the 'externs' that are
fed into the GCC. The SVG externs are bunched in with the 'regular' JS.SWC
externs, but there are some issues with the SVG externs such that they
cause trouble :-(

I (obviously) wasn't able to fix it.

Also, the SVG stuff should really be it's own extern project, as it is not
part of the set of externs that we take from the Closure project, which
makes keeping it up to date a hassle.

EdB



On Wed, Sep 2, 2015 at 9:13 PM, Peter Ent <p...@adobe.com> wrote:

> I was able to fix the charts example because the warning came from
> manually written JS. I just changed {SVGElement} to {Object}. Maybe not
> 100% the best solution, but it quelled the warning.
>
> This code is cross-compiled from ActionScript so I cannot easily make the
> same fix.
>
> ‹peter
>
> On 9/2/15, 3:02 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
> <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:
>
> >Sorry I don't know the answer, but wanted to point out that I have seen
> >similar warnings in the regular FlexJS JS build outputs as well.  i.e. in
> >the Charts example.
> >
> >Thanks,
> >Om
> >
> >On Wed, Sep 2, 2015 at 10:29 AM, Peter Ent <p...@adobe.com> wrote:
> >
> >> Hi,
> >>
> >> When I build the flexjs/examples/native/USStatesMap project, I get a set
> >> of warning from the cross-compile step such as:
> >>
> >>
> >>      [java] WARNING:
> >> flex-asjs/examples/native/USStatesMap/bin/js-debug/USStatesMap.js:33:
> >> WARNING - Bad type annotation. Unknown type SVGElement
> >>
> >>      [java]  * @type {SVGElement}
> >>
> >>      [java]           ^
> >>
> >> Does anyone know how to suppress these?
> >>
> >> Thanks,
> >> Peter Ent
> >> Adobe Systems
> >>
> >>
>
>


-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to