Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
2
2025ustc-jianmu-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
compiler_staff
2025ustc-jianmu-compiler
Commits
387bcf57
Commit
387bcf57
authored
Nov 26, 2025
by
Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix problem with ubuntu24
parent
e547371b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
include/lightir/Type.hpp
include/lightir/Type.hpp
+1
-0
src/common/util.cpp
src/common/util.cpp
+1
-0
No files found.
CMakeLists.txt
View file @
387bcf57
...
@@ -2,6 +2,7 @@ cmake_minimum_required( VERSION 3.8 )
...
@@ -2,6 +2,7 @@ cmake_minimum_required( VERSION 3.8 )
include
(
CheckCXXCompilerFlag
)
include
(
CheckCXXCompilerFlag
)
project
(
CMINUSF
)
project
(
CMINUSF
)
add_compile_definitions
(
_POSIX_C_SOURCE=200112L
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c99"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c99"
)
...
...
include/lightir/Type.hpp
View file @
387bcf57
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
#include <iostream>
#include <iostream>
#include <vector>
#include <vector>
#include <cstdint>
class
Module
;
class
Module
;
class
IntegerType
;
class
IntegerType
;
...
...
src/common/util.cpp
View file @
387bcf57
#include "util.hpp"
#include "util.hpp"
#include <cstdint>
std
::
string
ptr_to_str
(
const
void
*
ptr
)
std
::
string
ptr_to_str
(
const
void
*
ptr
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment