From: IJ.L. <epi...@ya...> - 2012-11-15 14:08:45
|
It has multiple warnings assimp3/include/assimp/material.h:103:28: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:139:33: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:184:33: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:304:30: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:382:30: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:428:33: warning: ISO C restricts enumerator values to range of 'int' assimp3/include/assimp/material.h:477:28: warning: ISO C restricts enumerator values to range of 'int' Though they all go away if SWIG is defined. ________________________________ From: kim kulling <kim...@go...> To: IJ.L. <epi...@ya...> Cc: "ass...@li..." <ass...@li...> Sent: Thursday, November 15, 2012 11:52 AM Subject: Re: [Assimp-discussions] Some pedantic warnings from gcc (C) Hi, do you have the line for the first warning, please? Sounds suspicious to me. The other one: I have to take a look onto this line. Thanks for the hints! Kimmi On Thu, Nov 15, 2012 at 2:26 AM, IJ.L. <epi...@ya...> wrote: I noticed the following (pedantic) warnings from gcc (-pedantic -Wall -c99) > >1. "warning: ISO C restricts enumerator values to range of 'int'", > >Unless SWIG is defined. I'm not sure yet what SWIG means. Also, > >2. "warning: 'visibility' attribute ignored on types" from material.h at line 826 (assimp 3 release). > >For that I've not found out a solution. Any idea how to avoid it? > > >------------------------------------------------------------------------------ >Monitor your physical, virtual and cloud infrastructure from a single >web console. Get in-depth insight into apps, servers, databases, vmware, >SAP, cloud infrastructure, etc. Download 30-day Free Trial. >Pricing starts from $795 for 25 servers or applications! >http://p.sf.net/sfu/zoho_dev2dev_nov >_______________________________________________ >Assimp-discussions mailing list >Ass...@li... >https://lists.sourceforge.net/lists/listinfo/assimp-discussions > |