Your message dated Mon, 08 Jun 2009 17:38:01 +0200
with message-id <[email protected]>
and subject line Re: aspectc++: fails to parse compliant c++ source file with 
template
has caused the Debian Bug report #477819,
regarding aspectc++: fail to parse c++ source file with typedef'ed cast operator
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
477819: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477819
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aspectc++
Version: 1.0pre4~svn.20080409+dfsg-3
Severity: important

Hello again,
while trying to parse following source file

[test.cpp]=====================
struct MyStruct
{
        typedef int MyType;
        operator MyType () const;
};

MyStruct::operator MyType () const
{
        return 0;
}
===============================

compiler fails:
$ ac++ -c test.cpp -p . -a 0
test.cpp:7: error: invalid declaration near token `operator'

if I replace `operator MyType' by `operator MyStruct::MyType'
it compiles well, but `test.cpp' compiles well with g++ (and pgCC, btw)

It seems to be a puma-oriented issue (my guess)

I (once again) hope it helps to improve aspectc++ :-)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aspectc++ depends on:
ii  g++                        4:4.2.2-2     The GNU C++ compiler
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libgcc1                    1:4.2.2-4     GCC support library
ii  libstdc++6                 4.2.2-4       The GNU Standard C++ Library v3
ii  libxml2                    2.6.31.dfsg-2 GNOME XML library

aspectc++ recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello Guelton,

Reinhard Tartler <[email protected]> writes:

> tag 477819 moreinfo
> thanks
>
> Guelton <[email protected]> writes:
>
>> while trying to parse attached source file `test.cpp'
>>
>> $ ac++ -c test.cpp -p. -a 0
>> test.cpp:17: error: `H' undeclared here
>>
>>
>> while
>>
>> $ ac++ -DCOMPILE -c test.cpp -p. -a 0
>>
>> works fine.
>>
>> There seems to be a confusion between the name of the
>> template used to declare the class, and the one used
>> in the static members initialization
>
> Hi Guelton,
>
> It seems you forgot to actually attach the file in question. Could you
> send a message with the file in question actually attached?

I haven't heard back from you with the file in question, I'm therefore
closing this bugreport. Feel free to reply with the file in question,
I'll reopen it then!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


--- End Message ---

Reply via email to