Comment #9 on issue 7828 by [email protected]: scons build ignores changes to common/render_messages_internal.h http://code.google.com/p/chromium/issues/detail?id=7828
Yeah, there's not going to be a way to avoid the multiple includes at the moment. I had looked into this quite a lot but just couldn't find a way, except: if we use gcc 4.3. That way, we can use the __COUNTER__ macro so that one pass can generate the serialization classes + message IDs at the same time. The drawback is that all the message files will have to be included together (i.e. there could be one master header file that includes render_messages.h, plugin_messages.h etc). This is so that every time the files are included, __COUNTER__ returns the same value. VS 2005 already has this, but GCC needs version 4.3. It's not in xcode yet, so I doubt this will happen anytime soon. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
