--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/e0b30ec2-a59d-443d-93bf-cd1084e810fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK06EuUMaYx4dPkOcrpapVh_iQSSc2Y%3D6%2B8CBkq98rwqDczqwg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAPxoKqfik5yYCVg5TAEzAOYzGA-s_yoCqybysX%2BGv%3DKs2y9pqw%40mail.gmail.com.
Soooooo... at this point I bet most MOOSE team members are like "why are we even bothering with this stupid windows stuff?!", but it turns out we are the ones who are wrong!A quick look at the C++11 standard (ISO/IEC 14882:2003(E)) on page 327 under 17.4.3.1.2 "Global names" it says:Certain sets of names and function signatures are always reserved to the implementation:— Each name that contains a double underscore (__) or begins with an underscore followed by an upper-
case letter (2.11) is reserved to the implementation for any use.
— Each name that begins with an underscore is reserved to the implementation for use as a name in theglobal namespace.165)The first bullet applies here (assuming "any use" includes macro definitions). Well, I hope Derek writes a flaming rebuttal to this, because otherwise we'd be in a bit of a pinch, as we have literally hundreds of member variable names violating this standards rule. :-DP.S.: The Eigen library (which we used) already bucked and renamed their symbols for this reason...
On Mon, Nov 27, 2017 at 4:16 PM Daniel Schwen <dan...@schwen.de> wrote:
Ugh, I missed a line. That is not going to work.
On Mon, Nov 27, 2017 at 2:55 PM Daniel Schwen <dan...@schwen.de> wrote:
Please look into if undefing __MISC_VISIBLE (before ctype.h is included) helps avoiding this error. It looks like the _L etc. macro definitions can be suppressed that way.Daniel
On Mon, Nov 27, 2017 at 2:46 PM Daniel Schwen <dan...@schwen.de> wrote:
You're probably the first person (at least that we heard from) who is trying to build under msys2! A few users have had good success building on the Linux Subsystem for Windows (Ubuntu on Win10). I suggest before we do crazy things like renaming variables to accommodate exotic toolchains with (expletive redacted) macro names, we add some conditional undefs ins some high up moose headers at the appropriate places.
On Mon, Nov 27, 2017 at 11:41 AM Cody Permann <codyp...@gmail.com> wrote:
There are probably ways of avoiding that error but why would Windows complain while Mac OS and Linux do not? Perhaps this is a problem with your compiler or Windows setup? I believe we've had people compiling on Windows successfully before.Note that we still don't have extensive support for Windows usage.
On Wed, Nov 22, 2017 at 6:26 PM <hill....@gmail.com> wrote:
--Compilation of some mudules, such as phase_filed, solid_mechanics, at msys2 on windows fails with errores---------------------------------------------------expected unqualified-id before numeric constant---------------------------------------------------I found such errors are due to redefinition of macro _L, _P etc, which are supposed defined at ctype.h. Modify those variables name into _LL, _PP, for example, would solve those problems. But it is a little awkward. Are there smart way, such as by compiler option, to solve this problem?By the way, it should suggested not to use those simple variables name with one only letter to avoid such conflicts.
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/e0b30ec2-a59d-443d-93bf-cd1084e810fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK06EuUMaYx4dPkOcrpapVh_iQSSc2Y%3D6%2B8CBkq98rwqDczqwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAPxoKqfik5yYCVg5TAEzAOYzGA-s_yoCqybysX%2BGv%3DKs2y9pqw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/e0b30ec2-a59d-443d-93bf-cd1084e810fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK06EuUMaYx4dPkOcrpapVh_iQSSc2Y%3D6%2B8CBkq98rwqDczqwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAPxoKqfik5yYCVg5TAEzAOYzGA-s_yoCqybysX%2BGv%3DKs2y9pqw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CADJmAN-qnsLSUeWk7Bxxn6n4Wx2%2B-yZrYgrsO9i3HN5w_0qtmQ%40mail.gmail.com.