Boost C++ Libraries: Ticket #2648: Re-registering an existing suffix for a type fails erroneously, patch attached https://svn.boost.org/trac10/ticket/2648 <p> I've attached a patch against the development trunk that indicates what I believe is a problem in <code> tools/build/v2/build/type.jam </code>. </p> <p> The comments and the code suggest that re-registering a suffix to a type should be okay. I've included a snippet from the current trunk below. </p> <pre class="wiki"># Specifies that files with suffix from 'suffixes' be recognized as targets of # type 'type'. Issues an error if a different type is already specified for any # of the suffixes. # rule register-suffixes ( suffixes + : type ) { for local s in $(suffixes) { if ! $(.type.$(s)) { .type.$(s) = $(type) ; } else if $(.type.$(s)) != type { errors.error Attempting to specify multiple types for suffix \"$(s)\" : "Old type $(.type.$(s)), New type $(type)" ; } } } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2648 Trac 1.4.3 anonymous Sun, 11 Jan 2009 04:40:11 GMT attachment set https://svn.boost.org/trac10/ticket/2648 https://svn.boost.org/trac10/ticket/2648 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">type.jam.patch</span> </li> </ul> <p> patch against development trunk </p> Ticket anonymous Sun, 11 Jan 2009 04:41:19 GMT summary changed https://svn.boost.org/trac10/ticket/2648#comment:1 https://svn.boost.org/trac10/ticket/2648#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Re-registering an existing suffix for a type fails erroneously</span> → <span class="trac-field-new">Re-registering an existing suffix for a type fails erroneously, patch attached</span> </li> </ul> Ticket Steven Watanabe Fri, 13 Feb 2009 16:55:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2648#comment:2 https://svn.boost.org/trac10/ticket/2648#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/51240" title="Use $(type) instead of type. Fixes #2648">[51240]</a>) Use $(type) instead of type. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2648" title="#2648: Bugs: Re-registering an existing suffix for a type fails erroneously, patch ... (closed: fixed)">#2648</a> </p> Ticket