mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-10-31 20:53:01 +00:00 
			
		
		
		
	misc-linux-fixes
This commit is contained in:
		
							parent
							
								
									876296d62f
								
							
						
					
					
						commit
						a8a343420b
					
				| @ -332,6 +332,7 @@ void QueryDbMainLoop( | ||||
|       std::string path = msg->project_path; | ||||
| 
 | ||||
|       project->entries = LoadCompilationEntriesFromDirectory(path); | ||||
|       std::cerr << "Loaded compilation entries (" << project->entries.size() << " files)" << std::endl; | ||||
|       for (int i = 0; i < project->entries.size(); ++i) { | ||||
|         const CompilationEntry& entry = project->entries[i]; | ||||
|         std::string filepath = entry.filename; | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| #include "message_queue.h" | ||||
| 
 | ||||
| #include <cassert> | ||||
| #include <cstring> | ||||
| #include <functional> | ||||
| #include <iostream> | ||||
| #include <thread> | ||||
|  | ||||
| @ -93,7 +93,7 @@ struct PlatformSharedMemoryLinux : public PlatformSharedMemory { | ||||
|                      PROT_READ | PROT_WRITE, MAP_SHARED, fd_, 0 /*offset*/)); | ||||
|     capacity = size; | ||||
| 
 | ||||
|     std::cout << "Open shared memory name=" << name << ", fd=" << fd_ | ||||
|     std::cerr << "Open shared memory name=" << name << ", fd=" << fd_ | ||||
|               << ", shared=" << data << ", capacity=" << capacity << std::endl; | ||||
|   } | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										6
									
								
								wscript
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								wscript
									
									
									
									
									
								
							| @ -89,7 +89,11 @@ def build(bld): | ||||
|   bld.program( | ||||
|       source=cc_files, | ||||
|       cxxflags=['-std=c++11', '-Wall'], | ||||
|       includes=['third_party/rapidjson/include', CLANG_INCLUDE_DIR], | ||||
|       includes=[ | ||||
|         'third_party/', | ||||
|         'third_party/doctest/', | ||||
|         'third_party/rapidjson/include', | ||||
|         CLANG_INCLUDE_DIR], | ||||
|       lib=['clang', 'rt', 'pthread'], | ||||
|       libpath=[CLANG_LIB_DIR], | ||||
|       rpath=[CLANG_LIB_DIR], | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user