bugSimple C Expat Wrapper - Bugs: bug #15126, "Automatically include the...

 
 

bug #15126: "Automatically include the correct library on windows" works incorrectly

Submitted by:  None
Submitted on:  Fri 02 Dec 2005 10:46:03 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aleix Conchillo FlaquĆ© <aleix>
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 Sep 2009 04:31:24 PM UTC, comment #1:

Comment added due to upcoming SCEW 1.0.

This has been fixed in SCEW 1.0. SCEW_LIB_S has been removed, so SCEW_LIB_U and SCEW_LIB_D could be defined or not, thus reaching scew.lib if not defined.

Aleix Conchillo FlaquƩ <aleix>
Project AdministratorIn charge of this item.
Fri 02 Dec 2005 10:46:03 AM UTC, original submission:

The code

# if defined(SCEW_LIB_U) || ...
# pragma comment( lib, "scew_" SCEW_LIB_U ... ".lib" )
# else
# pragma comment( lib, "scew.lib" )
# endif

never reach "scew.lib" case, because SCEW_LIB_U/S/D are always defined.

Probably, the code:

# ifdef _DEBUG
# define SCEW_LIB_D "d"
# else
# define SCEW_LIB_D
# endif /* _DEBUG */

should be:

# ifdef _DEBUG
# define SCEW_LIB_D "d"
# endif /* _DEBUG */

The same for SCEW_LIB_U and SCEW_LIB_S defines.

Thank you,
Yury (e-mail: tym at tut dot by)

Anonymous

 

(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 aleix (Updated 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
    Thu 03 Sep 2009 04:31:24 PM UTCaleixStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 18 Jun 2007 10:30:18 AM UTCaleixAssigned toNone=>aleix

    Back to the top


    Powered by Savane 3.1-cleanup1