Ok, so I ran the makefile which did pretty good at building the os. however A few files may need a little help? I wondered if anyone else encountered this.
memorymanagement.cpp and memorymanagement.h
are both complaining about the first parameter of allocation function must be of type 'size_t'/ from the operator new.
this also affects pci.cpp, tcp.cpp, udp.cpp files in pretty much the same manner but gives a hint to a unsigned long? in my intellisense.
though in the build proccess that make ran, only complained about:
src/memorymanagement.cpp: In function ‘void operator new(unsigned int)’:
src/memorymanagement.cpp:97:16: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
return 0;
^
src/memorymanagement.cpp: In function ‘void operator new [](unsigned int)’:
src/memorymanagement.cpp:104:16: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
return 0;
Ok, so I ran the makefile which did pretty good at building the os. however A few files may need a little help? I wondered if anyone else encountered this.
memorymanagement.cpp and memorymanagement.h are both complaining about the first parameter of allocation function must be of type 'size_t'/ from the
operator new
.this also affects pci.cpp, tcp.cpp, udp.cpp files in pretty much the same manner but gives a hint to a unsigned long? in my intellisense.
though in the build proccess that make ran, only complained about:
src/memorymanagement.cpp: In function ‘void operator new(unsigned int)’: src/memorymanagement.cpp:97:16: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect) return 0; ^ src/memorymanagement.cpp: In function ‘void operator new [](unsigned int)’: src/memorymanagement.cpp:104:16: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect) return 0;
I couldnt find any other issues.