taskLibreDWG - Tasks: task #12284, compile with -std=c99

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #12284: compile with -std=c99

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Sat 13 Oct 2012 04:57:51 AM UTC  
 
Should Start On:  Fri 12 Oct 2012 10:00:00 PM UTC Should be Finished on:  Fri 12 Oct 2012 10:00:00 PM UTC
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  Reini Urban <reini_urban>
Open/Closed:  Closed Effort:  0.20

Wed 25 Apr 2018 11:13:02 AM UTC, comment #2:

Hi
Thanks for your patch.

I've already added full C99 support recently, and a bunch of warnings.
Also with strict checking for missing decls and such.

So this can be closed.

Reini Urban <reini_urban>
Project AdministratorIn charge of this item.
Sat 13 Oct 2012 05:17:36 AM UTC, comment #1:

patch on github
https://github.com/h4ck3rm1k3/libredwg/commit/3c0e02f8f6837d6f3eac6ef9028ab3d3994e8dfa

James Michael DuPont <mdupont>
Project Member
Sat 13 Oct 2012 04:57:51 AM UTC, original submission:

here are some warnings, patches will be coming soon.

decode.c:357: warning: implicit declaration of function ‘decode_R2004’
decode.c:366: warning: implicit declaration of function ‘decode_R2007’

./dwg.spec:1355: warning: ‘dwg_decode_common_entity_handle_data’ is static but used in inline function ‘decode_3dsolid’ which is not static
./dwg.spec:1359: warning: ‘dwg_decode_handleref_with_code’ is static but used in inline function ‘decode_3dsolid’ which is not static
./dwg.spec:1359: warning: ‘dwg_decode_handleref’ is static but used in inline function ‘decode_3dsolid’ which is not static

decode_r2007.c:28:1: warning: "DWG_LOGLEVEL" redefined
In file included from decode_r2007.c:24:
logging.h:43:1: warning: this is the location of the previous definition

In file included from encode.c:718:
./dwg.spec: In function ‘dwg_encode_UNUSED’:
./dwg.spec:40: warning: implicit declaration of function ‘dwg_encode_common_entity_handle_data’

encode.c:1089: warning: conflicting types for ‘dwg_encode_common_entity_handle_data’
./dwg.spec:40: warning: previous implicit declaration of ‘dwg_encode_common_entity_handle_data’ was here

James Michael DuPont <mdupont>
Project Member

 

Attached Files

 

Digest:
   patch dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by reini_urban (Posted a comment)
  • -email is unavailable- added by mdupont (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-25 reini_urban StatusNone => Done
        Percent Complete0% => 100%
        Assigned toNone => reini_urban
        Open/ClosedOpen => Closed
    2012-10-13 mdupont Dependencies- => Depends on patch #7861
    2012-10-13 mdupont Attached File- => Added 0001-patch-LibreDWG-Tasks-task-12284-compile-with-s.patch, #26756

    Back to the top


    Powered by Savane 3.3