Public bug reported:

Hi

I think there is a problem in g++ compiler libs.

I tried to compile https://github.com/dreamstalker/rehlds

On one of installation steps rehlds compiles own bzip2 that uses
random.h from system libs with g++.

And it fails with message
/usr/include/c++/4.8/bits/random.h(106): error expected a ";"
{typedef unsigned __int128 type;};
                           ^

If i set ";" or remove "type;"  compilation succeeds without errors.

Either it is simple copy-paste error or problem with "random.h"

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: 14.04 g++ ubuntu

** Description changed:

  Hi
  
  I think there is a problem in g++ compiler libs.
  
  I tried to compile https://github.com/dreamstalker/rehlds
  
  On one of installation steps rehlds compiles own bzip2 that uses
  random.h from system libs with g++.
  
- And it fails with message 
- /usr/include/c++/4.8/random.h(106): error expected a ";"
+ And it fails with message
+ /usr/include/c++/4.8/bits/random.h(106): error expected a ";"
  {typedef unsigned __int128 type;};
-                            ^
- 
+                            ^
  
  If i set ";" or remove "type;"  compilation succeeds without errors.
  
  Either it is simple copy-paste error or problem with "random.h"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624775

Title:
  g++ compiler problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1624775/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to