stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (STDCXX-288) Option to name include for config.h
Date Wed, 14 May 2008 19:00:59 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor reassigned STDCXX-288:
-----------------------------------

    Assignee: Martin Sebor

> Option to name include for config.h
> -----------------------------------
>
>                 Key: STDCXX-288
>                 URL: https://issues.apache.org/jira/browse/STDCXX-288
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 4.1.3, 4.1.4, 4.2.0, 4.2.1
>         Environment: current stdcxx, all environments i think (at least windows with
interix and wgcc)
>            Reporter: Markus Duft
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.3
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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)
>   #  include <config.h>
>   #else
>   #  include <rw/config/rwconfig_std.h>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message