Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Compile error in Stream.cpp with GCC (Ubuntu 8.10)
Compile error in Stream.cpp with GCC (Ubuntu 8.10) [message #18825] Sat, 25 October 2008 02:36 Go to previous message
kodos is currently offline  kodos
Messages: 111
Registered: March 2008
Experienced Member
Hi,

when I try to compile my program with a fresh copy of U++ svn and an up-to-date Ubuntu 8.10 with gcc-4.3 I get the following error in release mode:
In function ‘int open(const char*, int, ...)’,
    inlined from ‘bool Upp::FileMapping::Create(const char*, Upp::int64, bool)’ at /home/christian/Desktop/upp/uppsrc/Core/Stream.cpp:1306:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 a
	rguments


Here you can find more infos: https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2
I don't know which flags are needed so I just point you in the right direction. Smile
 
Read Message
Read Message
Previous Topic: [solved] Rev 540: App fails to link with MSC71 in Debug
Next Topic: Format Issues - Dynamic width and alignment
Goto Forum:
  


Current Time: Thu May 09 02:09:47 CEST 2024

Total time taken to generate the page: 0.01749 seconds