mainGnuTLS - Support: sr #106267, guile/src/utils.c uses __FUNCTION__

 
 

sr #106267: guile/src/utils.c uses __FUNCTION__

Submitter:  Tim Mooney <enchanter>
Submitted:  Wed 20 Feb 2008 05:09:58 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  jas
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Feb 2008 03:32:32 PM UTC, comment #2: 

Patch applied.

I've also submitted a gnulib module _func_ to make sure the code compiles even if the compiler doesn't have _func_ or _FUNCTION_.

Thanks.

Simon Josefsson <jas>
Group administrator
Thu 21 Feb 2008 11:45:19 PM UTC, comment #1: 

Thanks, I'll commit the obvious patch tomorrow.

Simon Josefsson <jas>
Group administrator
Wed 20 Feb 2008 05:09:58 AM UTC, original submission:  

Building on x86_64-sun-solaris2.10 with Sun Workshop 12 compilers.

When building with guile support, guile/src/utils.c build fails because it uses _FUNCTION_ in one place.  That's mainly a gcc-ism -- the C99 equivalent (which gcc has of course supported for several years) is _func_.  Using that allows utils.c to compile with a wider range of compilers.

I can provide a patch if you like, the fix is to just change _FUNCTION_ to _func_.

Tim Mooney <enchanter>

 

(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 jas (Posted a comment)
  • -email is unavailable- added by enchanter (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-28 jas StatusNone Done
        Assigned toNone jas
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code