dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #19629] pnetlib 0.8.0 compile failure


From: Bernhard Rosenkraenzer
Subject: [Pnet-developers] [bug #19629] pnetlib 0.8.0 compile failure
Date: Wed, 18 Apr 2007 14:44:00 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; en_US) KHTML/3.5.6 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?19629>

                 Summary: pnetlib 0.8.0 compile failure
                 Project: DotGNU Portable.NET
            Submitted by: bero
            Submitted on: Wednesday 04/18/2007 at 14:43
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Compiling pnetlib (after building and installing libjit 0.1.0, treecc 0.3.10,
pnet 0.8.0) barfs with

Random.cs:46: syntax error, unexpected '{', expecting "`class'" or
"`interface
'" or "`struct'" at or near `{'
./System/Random.cs:53: syntax error, unexpected "`int'", expecting "`class'"
or
"`interface'" or "`struct'" at or near `int'
./System/Random.cs:57: syntax error, unexpected "`int'", expecting "`class'"
or
"`interface'" or "`struct'" at or near `int'

The code in question is

41: #if !ECMA_COMPAT
42:  protected virtual double Sample()
43: #else
44:  private double Sample()
45: #endif
46:    {

If I remove the #if/#else/#endif construct, everything works as expected
(until it hits the next file with the same construct.
Looks like something isn't parsing #if correctly?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19629>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]