Xcode 7.0.1: New C++ file template has C contents
| Originator: | kusterer | ||
| Number: | rdar://22965848 | Date Originated: | 04-Oct-2015 05:25 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.0.1 (7A1001) |
| Classification: | Serious Bug | Reproducible: | Always |
STR: * Choose New > File... * Pick OS X > Source > C++ File * Create a file with header. Expected results: The created header's contents should be typical C++ header file contents. Actual result: The header's contents are C-specific. Macro defines are used instead of C++'s #pragma once, and it includes <stdio.h> instead of using the C++ name <cstdio>. If I wanted a C header, I'd have chosen "C File" instead.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!