mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: register u8
This commit is contained in:
6
Makefile
6
Makefile
@@ -90,7 +90,7 @@ ifdef WIN32
|
|||||||
else
|
else
|
||||||
$(CC) $(CFLAGS) -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
|
$(CC) $(CFLAGS) -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
|
||||||
$(V) -o v2.exe $(VFLAGS) cmd/v
|
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||||
mv -f v2.exe v
|
mv -f v2.exe v
|
||||||
endif
|
endif
|
||||||
@echo "V has been successfully built"
|
@echo "V has been successfully built"
|
||||||
@$(V) -version
|
@$(V) -version
|
||||||
@@ -150,5 +150,5 @@ selfcompile-static:
|
|||||||
|
|
||||||
### NB: Please keep this Makefile and make.bat simple.
|
### NB: Please keep this Makefile and make.bat simple.
|
||||||
install:
|
install:
|
||||||
@echo 'Please use `sudo v symlink` instead.'
|
@echo 'Please use `sudo ./v symlink` instead.'
|
||||||
|
|
||||||
|
@@ -50,7 +50,6 @@ static inline void __sort_ptr(uintptr_t a[], bool b[], int l) {
|
|||||||
'
|
'
|
||||||
|
|
||||||
const c_common_macros = '
|
const c_common_macros = '
|
||||||
//typedef unsigned char u8;
|
|
||||||
#define EMPTY_VARG_INITIALIZATION 0
|
#define EMPTY_VARG_INITIALIZATION 0
|
||||||
#define EMPTY_STRUCT_DECLARATION
|
#define EMPTY_STRUCT_DECLARATION
|
||||||
#define EMPTY_STRUCT_INITIALIZATION
|
#define EMPTY_STRUCT_INITIALIZATION
|
||||||
@@ -430,6 +429,7 @@ typedef int16_t i16;
|
|||||||
typedef int8_t i8;
|
typedef int8_t i8;
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
|
typedef uint8_t u8;
|
||||||
typedef uint16_t u16;
|
typedef uint16_t u16;
|
||||||
typedef uint8_t byte;
|
typedef uint8_t byte;
|
||||||
typedef uint32_t rune;
|
typedef uint32_t rune;
|
||||||
|
Reference in New Issue
Block a user