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

Submitter:  James Michael DuPont <mdupont>
Submitted:  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
Assigned to:  reini_urban Percent Complete:  100%
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>
Group administrator
Sat 13 Oct 2012 05:17:36 AM UTC, comment #1: 
James Michael DuPont <mdupont>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-758e.
    Corresponding source code