| 
 | 
 | 
 
Home » Community » U++ community news and announcements » 2020.1 rc 
	| 
		
 |  
	
		
		
			| Re: 2020.1 rc [message #53820 is a reply to message #53817] | 
			Tue, 05 May 2020 21:29    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		This is, probably, not very important, but still ... 
I checked compilation on Linux via "umk CLANG -bsu". 
Problems: 
benchmarks/stdlist - 'gtk/gtk.h' file not found (weird)
benchmarks/Sort - call to 'Sort__' is ambiguous
benchmarks/CoLoop - copying variable of type 'std::atomic<int>' invokes deleted constructor
benchmarks/BenchmarkTess - crashes Clang ...
benchmarks/AllocMT - use of undeclared identifier 'Parse'; did you mean 'Parser'?
examples/SDLSoundDemo - 'begin_code.h' file not found
reference/SDL2Uword - 'begin_code.h' file not found
reference/UWord_FB - use of undeclared identifier 'K_PLUS'  
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53821 is a reply to message #53820] | 
			Tue, 05 May 2020 22:11    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		In addition to that in Release configuration via "umk CLANG -brus". 
reference/FilterStream
reference/Tuple  
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53823 is a reply to message #53817] | 
			Wed, 06 May 2020 13:38    | 
		 
		
			
				
				
				
					
						
						Tom1
						 Messages: 1305 Registered: March 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Hi Mirek, 
 
Everything I need appears to work here with 2020.1 rc! 
 
Thanks and best regards, 
 
Tom
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re: 2020.1 rc [message #53825 is a reply to message #53824] | 
			Wed, 06 May 2020 16:58    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		mirek wrote on Wed, 06 May 2020 07:42 
SDLSoundDemo / SDL2Uword - it seems like there might be a problem with your SDL2 installation.
  
Nope. My SDL2 installation installation is fine. 
I have libsdl2-dev installed. 
This is a bug with SDL2 itself. 
Line #include "begin_code.h" in SDL_platform.h is supposed to look like 
#include <SDL2/begin_code.h>  
For the time being it can be fixed by adding "/usr/include/SDL2" as an include path for POSIX platforms to the Synth package ...
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53826 is a reply to message #53825] | 
			Wed, 06 May 2020 18:45    | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 Registered: November 2005 
						
					 | 
					Ultimate Member  | 
					 | 
		 
		 
	 | 
 
	
		That is rather looking like compiler bug. #include " is supposed to look into the current directory first. 
 
Really weird. I have got #include "begin_code.h" in SDL_platform.h and everything works just fine, no fixes nor include paths added anywhere....
		
		
		[Updated on: Wed, 06 May 2020 18:46] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53827 is a reply to message #53826] | 
			Wed, 06 May 2020 19:47    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		mirek wrote on Wed, 06 May 2020 12:45That is rather looking like compiler bug. #include " is supposed to look into the current directory first. 
 
Really weird. I have got #include "begin_code.h" in SDL_platform.h and everything works just fine, no fixes nor include paths added anywhere....  
Below is what I have on my machine (Ubuntu 20.04): 
 
#include <SDL2/_real_SDL_config.h> (SDL_config.h) 
_real_SDL_config.h is located in /usr/include/x86_64-linux-gnu/SDL2/ 
It contains #include "SDL_platform.h", which is supposed to be located in /usr/include/x86_64-linux-gnu/SDL2/ 
And it can be found there. It is just a link:  SDL_platform.h -> ../../SDL2/SDL_platform.h 
So, compiler is looking for "begin_code.h" in /usr/include/x86_64-linux-gnu/SDL2/, but it is supposed to be looking in /usr/include/SDL2/ ... 
I doubt this is a bug with Clang ...
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53828 is a reply to message #53827] | 
			Wed, 06 May 2020 19:54    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Well, I checked the same project with GCC, and it is fine. 
Looks like a bug with either Clang or GCC ...
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: 2020.1 rc [message #53829 is a reply to message #53828] | 
			Wed, 06 May 2020 20:12    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		No matter whose fault is that, SDL2 cannot be used with Clang on Linux without adding of a system-wide include path ...
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 08:37:13 CET 2025 
 Total time taken to generate the page: 0.03859 seconds 
 |   
 |  
  |