Bug 1680

Summary: Export in class with all inline methods causes link errors on Windows
Product: ACE Reporter: Chad Elliott <elliott_c>
Component: ACE CoreAssignee: Chad Elliott <elliott_c>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.3.5   
Hardware: x86   
OS: Windows 2000   
Bug Depends on:    
Bug Blocks: 1638    

Description Chad Elliott 2003-12-18 08:44:57 CST
Building an exe on Windows that uses ACE_Null_Mutex, ACE_Null_Barrier, 
ACE_Null_Semaphore or ACE_Null_Condition.

There are very few tests or examples that do this.  We build all the 
examples and tests in our DOC MPC builds so we're seeing it on our 
scoreboard.
Comment 1 Chad Elliott 2003-12-18 08:45:49 CST
Blocking 1638
Comment 2 Douglas C. Schmidt 2003-12-18 08:55:42 CST
Chad, please go ahead and add a fix for this if you've got one.
Comment 3 Nanbor Wang 2003-12-18 09:00:05 CST
We will get Chad's fixes integrated as soon as the beta goes out
Comment 4 Chad Elliott 2003-12-29 06:26:46 CST
This problem should be fixed.  Below is the ChangeLog entry from when I
committed my changes.

Thu Dec 18 11:55:29 2003  Chad Elliott  <elliott_c@ociweb.com>

        * ace/Null_Barrier.h:
        * ace/Null_Condition.h:
        * ace/Null_Mutex.h:
        * ace/Null_Semaphore.h:

          All methods in both of these files are inline and therefor do not
          need ACE_Export.

        * ace/ace.mpc:

          Updated the Inline_Files and Header_Files sections.

        * examples/TMCast/Member/member.cpp:

          Added #include of OS_NS_string.h to get ACE_OS::strlen and added a
          return value for main.