bugDatabase-driven manual pager suite - Bugs: bug #24045, Some inline declarations are...

 
 

bug #24045: Some inline declarations are useless as the compiler can not do this.

Submitted by:  Dr. Werner Fink <wfink>
Submitted on:  Tue 12 Aug 2008 03:32:03 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Colin Watson <cjwatson>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 16 Aug 2008 11:18:31 PM UTC, comment #1:

Thanks for your report. I had already fixed this in bzr:

Wed Aug 6 22:36:48 BST 2008 Colin Watson <cjwatson@debian.org>

* libdb/db_lookup.c (infoalloc): Move to ...
* libdb/db_storage.h (infoalloc): ... here (as inline function).
Include "xalloc.h" for this.
(dblookup_all, dblookup_exact, gripe_lock, gripe_corrupt_data):
Stop declaring inline.
* src/security.h (drop_effective_privs, regain_effective_privs):
Stop declaring inline.

Colin Watson <cjwatson>
Project AdministratorIn charge of this item.
Tue 12 Aug 2008 03:32:03 PM UTC, original submission:

There are a lot of inline declared functions found in
libdb/db_storage.h, libdb/mydbm.h, src/man.h, and src/security.h
which can not be handled by the gcc as the body isn't known by
the gccversion 4.3.2 20080806 :

security.h:29: warning: inline function 'regain_effective_privs' declared but never defined
security.h:28: warning: inline function 'drop_effective_privs' declared but never defined

Dr. Werner Fink <wfink>

 

(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 cjwatson (Posted a comment)
  • -unavailable- added by wfink (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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 Aug 2008 11:18:31 PM UTCcjwatsonStatusNone=>Fixed
      Assigned toNone=>cjwatson
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1