On 4/5/2016 2:39 AM, 9il wrote:
On Tuesday, 5 April 2016 at 08:34:32 UTC, Walter Bright wrote:
On 4/4/2016 11:10 PM, 9il wrote:
I still don't understand why you cannot just set '-version=xxx' on the command
line and then switch off that version in your custom code.
I can do it, however I would like to get this information from compiler. Why?
1. This would help to eliminate configuration bugs.
2. This would reduce work for users and simplified user experience.
3. This is possible and not very hard to implement if I am not wrong.
Where does the compiler get the information that it should compile for, say,
AFX?