bugGuile - Bugs: bug #22668, Adjust use of `inline' depending...

 
 

bug #22668: Adjust use of `inline' depending on whether a C99 compiler is used

Submitter:  Ludovic Courtès <civodul>
Submitted:  Wed 19 Mar 2008 04:20:09 PM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  None
Privacy:  Public Assigned to:  civodul
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Apr 2008 03:33:16 PM UTC, comment #1: 

I've fixed it in the following commit:

   http://git.sv.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=db426d7455dbbb7dfabc380286c5d78032025570

Beside the GCC 4.2 warning, it also fixes compilation in C99 with GCC 4.3 and later, as recommended on the GCC website.

Thanks,
Ludovic.

Ludovic Courtès <civodul>
Group administrator
Wed 19 Mar 2008 04:20:09 PM UTC, original submission:  

Compilation of a libguile-using program with a C99 compiler (such as "gcc -std=c99") yields warnings such as:

  .../libguile/inline.h:80: warning: C99 inline functions are not supported; using GNU89

See this thread:

  http://thread.gmane.org/gmane.network.gnutls.general/1081

Thanks,
Ludovic.

Ludovic Courtès <civodul>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by civodul (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.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-04-03 civodul Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code