Bug 1680 - Export in class with all inline methods causes link errors on Windows
Summary: Export in class with all inline methods causes link errors on Windows
Status: RESOLVED FIXED
Alias: None
Product: ACE
Classification: Unclassified
Component: ACE Core (show other bugs)
Version: 5.3.5
Hardware: x86 Windows 2000
: P3 blocker
Assignee: Chad Elliott
URL:
Depends on:
Blocks: 1638
  Show dependency tree
 
Reported: 2003-12-18 08:44 CST by Chad Elliott
Modified: 2003-12-29 06:26 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.