NG fails to build latest updates

BlitzMax Forums/Brucey's Modules/NG fails to build latest updates

col(Posted 2016) [#1]
Hiya Brucey,

I've updated all mods this evening to their latest versions from the repo, I'm getting duplicate errors...

Compile Error: Duplicate identifier 'getclassnamew' found in module 'maxgui_win32maxguiex_common' and module 'pub.win32'.


BlitzSupport(Posted 2016) [#2]
For what it's worth, I just did a Rebuild All Modules (running from RAM disk so want to pre-build all) and got this near the end:

Z:/Applications/BlitzMax/mod/brl.mod/httpstream.mod/httpstream.debug.win32.x64.a
Build Error: failed to compile (1)


Hmm, weirdly, just rebuilt with Verbose mode turned on, and it built fine!


Dabhand(Posted 2016) [#3]
Just a wonderment, but did you rebuild all the modules again?

EDIT: Thats what happens when someone posts when ones phone rings mid post! :D

Dabz


col(Posted 2016) [#4]
:-)

Yeah, I also tried building all modules and also just doing a regular compilation, both fail unfortunately.

What's the purpose of the .x files? I see they have win32 functions in them ( well, the ones I looked at anyway ), are they specific for windows builds? If so, what's the reason for implementing them?

Cheers!


Brucey(Posted 2016) [#5]
Oops. This comes from Win32 MaxGUI defining stuff that should be in pub.win32... ho hum.

What's the purpose of the .x files?

It's a way to give finer grained control over the definition of externed functions, whether the code that declares the extern should add it to its own header, and the real argument types.

I'd be happy to implement it differently, if you come up with better solution to the problem ;-)


col(Posted 2016) [#6]

I'd be happy to implement it differently, if you come up with better solution to the problem ;-)



Pre-processor magic? :p No no, was just curious :^)
Thanks for the fast fix!