Your message dated Mon, 18 Jul 2005 16:17:58 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#309086: fixed in openc++ 2.8-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 May 2005 12:54:45 +0000
>From [EMAIL PROTECTED] Sat May 14 05:54:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from postfix3-2.free.fr [213.228.0.169] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DWwAG-0000Fn-00; Sat, 14 May 2005 05:54:45 -0700
Received: from [82.67.65.139] (mut38-1-82-67-65-139.fbx.proxad.net 
[82.67.65.139])
        by postfix3-2.free.fr (Postfix) with ESMTP id B1361C098
        for <[EMAIL PROTECTED]>; Sat, 14 May 2005 14:54:43 +0200 (CEST)
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 14 May 2005 14:56:25 +0200
From: Mathieu ROGER <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: fr, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Bug in OpenC++: Preprocessor Parameters Ignored
Content-Type: multipart/mixed;
 boundary="------------010802000006090609070908"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part message in MIME format.
--------------010802000006090609070908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: openc++
Version: 2.8-4
Severity: normal


Hi,

as reported in : 
http://sourceforge.net/mailarchive/message.php?msg_id=9785370

Description :
occ2 ignores preprocessor options


patch in attached file, successfully tested locally

Regards

-- 
Mathieu Roger



--------------010802000006090609070908
Content-Type: text/plain;
 name="patch.preprocessor-options"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch.preprocessor-options"

 
 diff -ur opencxx-2.8/opencxx/driver2.cc opencxx-patched/opencxx/driver2.cc
 --- opencxx-2.8/opencxx/driver2.cc     2004-08-10 09:48:05.000000000 +0200
 +++ opencxx-patched/opencxx/driver2.cc 2004-10-14 14:49:27.870216699 +0200
 @@ -241,9 +241,11 @@
      string compiler = config.CompilerCommand();
      
      vector<string> argv;
 -    
 +
      argv.push_back(compiler);
  
 +    argv.insert(argv.end(), config.CppOptions().begin(), 
config.CppOptions().end());
 +
      if(config.RecognizeOccExtensions())
        argv.push_back("-D__opencxx");
      
 diff -ur opencxx-2.8/opencxx/MetacompilerConfiguration.h
opencxx-patched/opencxx/MetacompilerConfiguration.h
 --- opencxx-2.8/opencxx/MetacompilerConfiguration.h    2004-08-10 
09:48:05.000000000 +0200
 +++ opencxx-patched/opencxx/MetacompilerConfiguration.h        2004-10-14 
14:42:21.060422444 +0200
 @@ -20,6 +20,7 @@
  #include <opencxx/defs.h>
  #include <string>
  #include <memory>
 +#include <vector>
  
  namespace Opencxx
  {
 @@ -95,7 +96,7 @@
      virtual Opencxx::ErrorLog& ErrorLog() const = 0;
      
      virtual Iterator CcOptions() const = 0;
 -    
 +    virtual const std::vector<std::string>& CppOptions() const = 0;   
      virtual Iterator Metaclasses() const = 0;
  };
  
 diff -ur opencxx-2.8/opencxx/OpencxxConfiguration.h
opencxx-patched/opencxx/OpencxxConfiguration.h
 --- opencxx-2.8/opencxx/OpencxxConfiguration.h 2004-08-10 09:48:05.000000000 
+0200
 +++ opencxx-patched/opencxx/OpencxxConfiguration.h     2004-10-14 
14:42:32.511592506 +0200
 @@ -117,6 +117,9 @@
      {
          cc2Options_.push_back(option);
      }
 +    const std::vector<std::string>& CppOptions() const {
 +      return cc2Options_;
 +    }
      void SetDoPreprocess(bool v) { doPreprocess_ = v; }
      bool DoPreprocess() const { return doPreprocess_; }

--------------010802000006090609070908--

---------------------------------------
Received: (at 309086-close) by bugs.debian.org; 18 Jul 2005 20:24:31 +0000
>From [EMAIL PROTECTED] Mon Jul 18 13:24:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DucAB-0003CE-00; Mon, 18 Jul 2005 13:24:31 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Duc3q-0004TZ-00; Mon, 18 Jul 2005 16:17:58 -0400
From: Yann Dirson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#309086: fixed in openc++ 2.8-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 18 Jul 2005 16:17:58 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: openc++
Source-Version: 2.8-6

We believe that the bug you reported is fixed in the latest version of
openc++, which is due to be installed in the Debian FTP archive:

libocc0-dev_2.8-6_i386.deb
  to pool/main/o/openc++/libocc0-dev_2.8-6_i386.deb
libocc0c2_2.8-6_i386.deb
  to pool/main/o/openc++/libocc0c2_2.8-6_i386.deb
openc++_2.8-6.diff.gz
  to pool/main/o/openc++/openc++_2.8-6.diff.gz
openc++_2.8-6.dsc
  to pool/main/o/openc++/openc++_2.8-6.dsc
openc++_2.8-6_i386.deb
  to pool/main/o/openc++/openc++_2.8-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yann Dirson <[EMAIL PROTECTED]> (supplier of updated openc++ package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 18 Jul 2005 21:23:49 +0200
Source: openc++
Binary: libocc0c2 libocc0-dev openc++
Architecture: source i386
Version: 2.8-6
Distribution: unstable
Urgency: low
Maintainer: Yann Dirson <[EMAIL PROTECTED]>
Changed-By: Yann Dirson <[EMAIL PROTECTED]>
Description: 
 libocc0-dev - OpenC++ library - development
 libocc0c2  - OpenC++ library - runtime
 openc++    - extensible C++ compiler
Closes: 309086 318899
Changes: 
 openc++ (2.8-6) unstable; urgency=low
 .
   * Fixed -dev package dependency to refer to new lib package (Closes:
     #318899).
   * Applied Marc Waeckerlin's patch for preprocessor options (Closes:
     #309086).
Files: 
 574400b9f626ffb9d5812c55333a6ca8 632 devel optional openc++_2.8-6.dsc
 441abdd7ea624ec241960b4de6c9c66b 50861 devel optional openc++_2.8-6.diff.gz
 2cb8b9fcb0182ec44820ccba94290486 171696 devel optional openc++_2.8-6_i386.deb
 e0584b0283bb0b6440c316e21146682b 222886 libs optional libocc0c2_2.8-6_i386.deb
 d40bdd2eeb64ad7d3bb74b1f04dce515 416586 libdevel optional 
libocc0-dev_2.8-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC3AyzV1uVslwzwbgRAvCQAKCN/qgl1crz5xOp0y+oYHU99OsmSwCdGCAt
MNmjfyOV7C3UPfddpCAIpgM=
=fcmG
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to