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

 
 

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

Submitted by:  Ludovic Courtès <civodul>
Submitted on:  Wed 19 Mar 2008 04:20:09 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Ludovic Courtès <civodul>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by civodul (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Apr 2008 03:33:16 PM UTCcivodulOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1