Issue Details (XML | Word | Printable)

Key: STDCXX-288
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Martin Sebor
Reporter: Markus Duft
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

Option to name include for config.h

Created: 15/Sep/06 06:28 AM   Updated: 14/May/08 07:00 PM
Return to search
Component/s: Configuration
Affects Version/s: 4.1.3, 4.1.4, 4.2.0, 4.2.1
Fix Version/s: 4.3.0

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 2h
Remaining Estimate - 2h
Time Spent: Not Specified
Remaining Estimate - 2h

Environment: current stdcxx, all environments i think (at least windows with interix and wgcc)
Issue Links:
Reference
 

Severity: Usability


 Description  « Hide
see mail "Re: problem with config.h" from Martin Sebor:

Yes, the name is far from ideal. I've been thinking about making it configurable, perhaps by replacing the _RWSTD_USE_CONFIG macro with _RWSTD_CONFIG=<config-header-pathname>. The patch below has all the source changes necessary to make it work (the rest of the changes need to go in the makefiles and VisualStudio scripts).
I suggest you create an enhancement request in Jira for this to help us remember to get it done.

Martin

Index: /build/sebor/stdcxx/include/rw/_config.h
===================================================================
— /build/sebor/stdcxx/include/rw/_config.h (revision 436919)
+++ /build/sebor/stdcxx/include/rw/_config.h (working copy)
@@ -31,7 +31,9 @@
#ifndef _RWSTD_RW_CONFIG_H_INCLUDED
#define _RWSTD_RW_CONFIG_H_INCLUDED

-#ifdef _RWSTD_USE_CONFIG
+#ifdef _RWSTD_CONFIG
+# include _RWSTD_CONFIG
+#elif defined (_RWSTD_USE_CONFIG)

  1. include <config.h>
    #else
  2. include <rw/config/rwconfig_std.h>


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 16/Mar/07 09:23 PM
Field Original Value New Value
Link This issue relates to STDCXX-336 [ STDCXX-336 ]
Martin Sebor made changes - 16/Mar/07 09:24 PM
Component/s Configuration [ 12310140 ]
Martin Sebor made changes - 14/May/08 07:00 PM
Affects Version/s 4.2.1 [ 12312690 ]
Fix Version/s 4.3 [ 12312692 ]
Severity Usability
Affects Version/s 4.2.0 [ 12311945 ]
Remaining Estimate 2h [ 7200 ]
Original Estimate 2h [ 7200 ]
Martin Sebor made changes - 14/May/08 07:00 PM
Assignee Martin Sebor [ sebor ]