bugDotGNU Portable.NET - Bugs: bug #19629, pnetlib 0.8.0 compile failure

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19629: pnetlib 0.8.0 compile failure

Submitter:  Bernhard Rosenkraenzer <bero>
Submitted:  Wed 18 Apr 2007 02:43:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Jump to the original submission

Sat 02 Jun 2007 12:45:11 PM UTC, comment #6: 

fixed in cvs.

Klaus Treichel <ktreichel>
Group administrator
Sat 02 Jun 2007 10:22:55 AM UTC, comment #5: 

Yes, it works great now (using everything from CVS).

Bernhard Rosenkraenzer <bero>
Fri 01 Jun 2007 05:53:14 PM UTC, comment #4: 

Hi Bernhard,

can you check if pnetlib builds with current pnet cvs and gcc 4.2.0 now.

Klaus Treichel <ktreichel>
Group administrator
Thu 19 Apr 2007 06:28:39 PM UTC, comment #3: 

The only major difference on my box is the gcc version used (4.1.2).

Can you try a stable gcc version and see if pnet compiled with that version doesn't compile pnetlib too?

i've just tried the release on my box (x86_64) bison 2.3, flex 2.5.33 and gcc 4.1.2 and pnetlib compiled.

That's to make sure that it's no gcc issue.

Klaus Treichel <ktreichel>
Group administrator
Wed 18 Apr 2007 07:16:45 PM UTC, comment #2: 

No special profile, just plain ./configure --prefix=/usr, make, make install (in all parts of pnet)

bison 2.3
flex 2.5.33
glibc 2.5
gcc 4.2 snapshot
binutils 2.17.50.0.14

Bernhard Rosenkraenzer <bero>
Wed 18 Apr 2007 06:20:02 PM UTC, comment #1: 

Can you tell me something about your configuration?

Which versions of Flex/Bison are used?

Did you configure pnet with any special profile?


Klaus Treichel <ktreichel>
Group administrator
Wed 18 Apr 2007 02:43:59 PM UTC, original submission:  

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?

Bernhard Rosenkraenzer <bero>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ktreichel (Posted a comment)
  • -email is unavailable- added by bero (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-02 ktreichel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.12