Nicholas Fraser

Results 8 issues of Nicholas Fraser

In `a.c`: ```c #define X typedef int unused; Y #define Y X // comment #include ``` `chibicc -c a.c`: ``` a.c:5: #include ^ variable name omitted ``` `chibicc -E a.c`:...

### Steps to Reproduce ```sh mkdir src build echo 'int main(void){return 0;}' > src/main.c chibicc -MD src/main.c -o build/main.o ``` ### Expected Behaviour The dependency file `main.d` should be under...

Hi there, The NVidia/PGI compiler has some interesting behaviour regarding noreturn placement around storage specifiers. This creates a limitation in making a wrapper macro that can be both `[[noreturn]]` in...

```c #include const char* a = "nope"; __attribute__((__constructor__)) static void foo(void) { a = "yep"; } int main(void) { puts(a); } ``` Gives compiler warning "'void foo(void)' defined but not...

```c #define foo(x) x #define bar foo int main(void) { return bar(bar(0)); } ``` This fails under cparser 8ec1a761bf62be1028632e5eceda425d9fbeb039 with warning "implicit declaration of function 'foo'" and linker error "undefined...

`GTEST_FAIL()` is defined through these macros, ultimately ending up at `GTEST_MESSAGE_AT_()`: ```c++ #define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed") #define GTEST_FATAL_FAILURE_(message) \ return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) #define GTEST_MESSAGE_(message, result_type) \ GTEST_MESSAGE_AT_(__FILE__, __LINE__, message, result_type) ```...

bug

**Operating system**: Ubuntu 20.04, Windows 10 **wxPython version & source**: 4.2.1 **Python version & source**: 3.8.10 (Ubuntu), 3.10.0 (Windows) **Description of the problem**: `InformFirstDirection()` must be overridden by classes that...

### Environment toybox 0.8.10-89-g2f93b89b62d1 (latest commit as of this writing) Arch Linux ### Steps to Reproduce Run this under `toybox sh`: ```sh #!/bin/sh if true; then echo "case 1" elif...