The steps to reproduce are not portable!
I mentioned I was using glew. This tries to be portable yes but it
isn't. The fact that there's no exception dumped out from Eclipse
means it's some really nasty deep issue (probably) and someone who
knows the parser and the toggle function bit might have any hints at
how I can consistently reproduce this.
By taken seriously I mean: "My IDE is deleting swaths of code
without any indication anything has gone wrong, help me find out why
and fix it" - this should be taken seriously, a bug which pops up
saying "Hey, can't do that for some weird reason" is fine, it does
this silently. Hence the "urgent".
Steps to reproduce:
1) Include glew
2) Create a header file
3) Write a class with a method that uses ANYTHING that stars with GL
4) Press alt+shift+t (I think? It's sort of muscle memory now) -
just toggle the function
5) Repeat 4 again (so it moves the method to a .cpp file)
6) Observe failure.
We all know Eclipse is fine with macros, so this bug is not "Macros
cause failure" and there is no information to help me find out why
(hence asking you lot!) there's no error report, exceptions,
nothing.
We all know that "include glew" is not a portable way to reproduce,
do you want me to copy and paste a 15mb (ish) file here? I am
leaning towards "big files=bad" because EVEN THE CONSTANTS don't
carry forward, a line that reads #define GL_VERTEX_SHADER 0x83b2 (or
whatever) should work, defines work fine with Eclipse but they fail,
if you mouse over the constant Eclipse expands it correctly!
So what is going on? Without any sort of error log or details I can
only speculate. Hence asking you. What could be happening that makes
Eclipse erase the function body when moving something with a macro
from a large file? Is it even the large file part? Exactly.
Alec
On 11/01/15 02:33, Doug Schaefer wrote:
More seriously by who? I’m sorry you’re seeing this but I’ve
never heard a report of this before so it’s curious why you’re
seeing it. Again, please create a bug report with all the steps
you’ve taken to reproduce it. And it would be awesome if you
could contribute a fix. This is an open community with only a
handful of contributors. We need your help.
Doug.
I'm trying to debug
it, I thought this'd be taken more seriously! It's
deleting swaths of code because they contain macros
silently, that's a big issue.
I usually have code that contains macros, I usually use
this and it works, the only thing that's changed this time
is that it is from a huge file.
Alec
On 10/01/15 22:56, Sergey Prigogin wrote:
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
|