News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

double dash in compiler options becomes em-dash. Mac OSX Yosemite

Started by warpino, May 25, 2015, 02:05:59 PM

Previous topic - Next topic

warpino

Hi all,

I managed to compile C::B 13.12 SVN on OSX 10.10 Yosemite and the FortranPlugin as well. Everything seems ok, but I find it very annoying that double dashes '--' are transformed into em-dashes in the compiler options windows, causing errors during build.
This does not happen in my linux installation.
Any way I can get rid of it?

Regards,

w.

oBFusCATed

Can you try to build some wxwidget sample that has a wxTextCtrl in it and try to reproduce the problem in it?
For sure this is not caused by some option on the wxTextCtrl we have enabled (at least not intentionally).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

warpino

There is an option in OSX
System Preferences -> Keyboard
and unchecking "use smart quotes and dashes" or something like that did the trick.

Strangely the prebuilt version of C::B 13.12 was not affected by that option

Thank you for your reply!

oBFusCATed

The prebuild version uses wxcarbon, but if you've built your own agains wx3.x, you're most probably using wxcocoa.
Thus one of the versions is using the carbon apis, the other is using the cocoa apis and probably this feature is not supported in the carbon apis.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]