Dmitry Selyutin <ghostman...@gmail.com> wrote: > Ok, what exact parts do you suggest to change? For now I see that dropping > __cplusplus guards should make the code C++-free; please, correct me if I'm > wrong.
Yeah, pretty much just that. But I don't know if grishka will approve this patch generally, because atomics are not in the standard, so it may be against the tcc being "tiny". Also while atomics are probably better solution so using something like mutex or spinlock, they are platform dependant and they just kind of produce code smell, so personally I always tried to avoid using them, because portability issues might arrise at some point, especially with new hardware and embeded world. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel