This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Defining a double
- From: "Levin, Andrew Michael" <andrew dot m dot levin at vanderbilt dot edu>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 03 Jun 2007 03:02:29 -0500
- Subject: Defining a double
When I try to compile this code:
class ScoreDistanceRestraints
{
double asdfasdsfa( 0);
};
int main ()
{
return 0;
}
I get three errors that say:
expected identifier before numeric constant
expected ',' or '...' before numeric constant
ISO C++ forbids declaration of 'parameter' with no type
---------------------------------------
Levin, Andrew Michael
Vanderbilt University
Email: andrew.m.levin@Vanderbilt.Edu