cgen: register u8
parent
628498e0dc
commit
0b9b80e0c9
6
Makefile
6
Makefile
|
@ -90,7 +90,7 @@ ifdef WIN32
|
|||
else
|
||||
$(CC) $(CFLAGS) -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
|
||||
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||
mv -f v2.exe v
|
||||
mv -f v2.exe v
|
||||
endif
|
||||
@echo "V has been successfully built"
|
||||
@$(V) -version
|
||||
|
@ -150,5 +150,5 @@ selfcompile-static:
|
|||
|
||||
### NB: Please keep this Makefile and make.bat simple.
|
||||
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 = '
|
||||
//typedef unsigned char u8;
|
||||
#define EMPTY_VARG_INITIALIZATION 0
|
||||
#define EMPTY_STRUCT_DECLARATION
|
||||
#define EMPTY_STRUCT_INITIALIZATION
|
||||
|
@ -430,6 +429,7 @@ typedef int16_t i16;
|
|||
typedef int8_t i8;
|
||||
typedef uint64_t u64;
|
||||
typedef uint32_t u32;
|
||||
typedef uint8_t u8;
|
||||
typedef uint16_t u16;
|
||||
typedef uint8_t byte;
|
||||
typedef uint32_t rune;
|
||||
|
|
Loading…
Reference in New Issue