fungos / cr

cr.h: A Simple C Hot Reload Header-only Library
https://fungos.github.io/cr-simple-c-hot-reload/
MIT License
1.57k stars 103 forks source link

Unknown pragmas #50

Closed skypjack closed 4 years ago

skypjack commented 4 years ago

Currently, both clang and g++ trigger a warning for an unknown lambda due to this line:

#pragma section(".state", read, write)

Not sure what the purpose of this line is (it's... well, Christmas, I haven't looked into the code today) but apparently both the compilers just ignore it.