kubernetes-client / c

Official C client library for Kubernetes
Apache License 2.0
141 stars 45 forks source link

[CPP] Keyword namespace conflicted in cpp #139

Closed caesar0301 closed 1 year ago

caesar0301 commented 1 year ago

Thank you for this awesome c sdk. However we encountered keyword conflict in cpp. Specifically from here:

https://github.com/kubernetes-client/c/blob/9a78e0fe02dac4aa65b86d98a7fa894be2fee872/kubernetes/config/kube_config_model.h#L48

I noticed an old issue in https://github.com/kubernetes-client/c/issues/43. This new one suggests we may require some CI validation for CPP senario.

A small fix will be given below for this specific issue.